Pagini recente » Borderou de evaluare (job #1321088) | Borderou de evaluare (job #498104) | Borderou de evaluare (job #1697398) | Borderou de evaluare (job #2452850) | Borderou de evaluare (job #1560194)
Borderou de evaluare (job #1560194)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:10:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void rsw()’:
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harddp.in", "r", stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harddp.out", "w", stdout);
^
user.cpp:34:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccFW6g5w.o: In function `read()':
user.cpp:(.text+0x28): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | The master destroyed you! | 0 |
Punctaj total | 0 |