Pagini recente » Borderou de evaluare (job #1560277) | Borderou de evaluare (job #1283821) | Borderou de evaluare (job #1121524) | Borderou de evaluare (job #2240346) | Borderou de evaluare (job #1586324)
Borderou de evaluare (job #1586324)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("baruri.in", "r", stdin);
^
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("baruri.out", "w", stdout);
^
user.cpp:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; t--) {
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:50:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(BUFF + 1);
^
user.cpp:56:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d\n", &m), i = 1; i <= m; i++) {
^
user.cpp:57:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(BUFF + 1);
^
/tmp/ccGxDzt0.o: In function `main':
user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 308ms | 1532kb | OK | 100 |
Punctaj total | 100 |