Pagini recente » Borderou de evaluare (job #11127) | Borderou de evaluare (job #1940405) | Borderou de evaluare (job #1628322) | Borderou de evaluare (job #342632) | Borderou de evaluare (job #2362601)
Borderou de evaluare (job #2362601)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("tablou.in", "r", stdin);
^
main.cpp:13:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("tablou.out", "w", stdout);
^
main.cpp:16:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &n, &m);
^
main.cpp:20:37: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (str + 1, 3010, stdin);
^
main.cpp:29:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &q);
^
main.cpp:35:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d %d", &a, &b, &x, &y, &c);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:20:37:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 5ms | 1310kb | OK | 10 |
| 3 | 5ms | 1310kb | OK | 10 |
| 4 | 190ms | 72351kb | OK | 10 |
| 5 | 193ms | 72351kb | OK | 10 |
| 6 | 175ms | 72351kb | OK | 10 |
| 7 | 207ms | 14811kb | OK | 10 |
| 8 | 220ms | 14811kb | OK | 10 |
| 9 | 362ms | 75104kb | OK | 10 |
| 10 | 320ms | 75104kb | OK | 10 |
| Punctaj total | 100 |