Pagini recente » Borderou de evaluare (job #532330) | Borderou de evaluare (job #1528892) | Borderou de evaluare (job #842690) | Borderou de evaluare (job #1365546) | Borderou de evaluare (job #1409061)
Borderou de evaluare (job #1409061)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv10.in", "r", stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv10.out", "w", stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:19:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), N = strlen (sir + 1);
^
user.cpp:20:40: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (pf + 1), n1 = strlen (pf + 1);
^
user.cpp:21:40: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sf + 1), n2 = strlen (sf + 1);
^
/tmp/ccNCKzXi.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 1204kb | OK | 100 |
Punctaj total | 100 |