Pagini recente » Borderou de evaluare (job #1370556) | Borderou de evaluare (job #3136838) | Borderou de evaluare (job #2408746) | Borderou de evaluare (job #2502887) | Borderou de evaluare (job #1560207)
Borderou de evaluare (job #1560207)
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:33: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:34: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:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccMJzeDZ.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 | Briliantul te premieaza! | 100 |
Punctaj total | 100 |