Pagini recente » Borderou de evaluare (job #1197752) | Borderou de evaluare (job #1707312) | Borderou de evaluare (job #57212) | Borderou de evaluare (job #2344042) | Borderou de evaluare (job #1440369)
Borderou de evaluare (job #1440369)
Raport evaluator
Compilare:
user.cpp: In function ‘void cit(int&, str&)’:
user.cpp:121:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), L = strlen (sir + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:159:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("largestroot.in", "r", stdin);
^
user.cpp:160:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("largestroot.out", "w", stdout);
^
user.cpp:162:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:166:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &N);
^
/tmp/ccYUPLID.o: In function `cit(int&, str&)':
user.cpp:(.text+0x3d6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 328kb | Incorect | 0 |
Punctaj total | 0 |