|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 319004
Mesaj evaluator:
insule.cpp: In function 'int main()':
insule.cpp:36: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:36: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:52: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:52: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:71: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:71: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:90: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:90: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
insule.cpp:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
insule.cpp:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
insule.cpp:28: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from /usr/include/c++/4.4/i486-linux-gnu/bits/stdc++.h:45,
from insule.cpp:1:
In function 'char* gets(char*)',
inlined from 'int main()' at insule.cpp:28:
/usr/include/bits/stdio2.h:230: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/ccCY2Ekx.o: In function `main':
insule.cpp:(.text+0x25f): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ajutor | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||