Pagini recente » Borderou de evaluare (job #391562) | Borderou de evaluare (job #3344683) | Borderou de evaluare (job #2158138) | Borderou de evaluare (job #3346987) | Borderou de evaluare (job #1728397)
Borderou de evaluare (job #1728397)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxM, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:100:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:101:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:104:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccNYI8q0.o: In function `write()':
user.cpp:(.text+0x2b8): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 112ms | 3056kb | Incorect | 0 |
| 2 | 20ms | 1176kb | OK | 10 |
| 3 | 60ms | 1652kb | OK | 10 |
| 4 | 96ms | 1644kb | OK | 10 |
| 5 | 144ms | 2804kb | OK | 10 |
| 6 | 248ms | 3948kb | OK | 10 |
| 7 | 376ms | 5096kb | OK | 10 |
| 8 | Depăşit | 5160kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5164kb | Time limit exceeded. | 0 |
| 10 | 392ms | 5176kb | Incorect | 0 |
| Punctaj total | 60 |