Pagini recente » Borderou de evaluare (job #2443392) | Borderou de evaluare (job #3310127) | Borderou de evaluare (job #3307755) | Borderou de evaluare (job #1141192) | Borderou de evaluare (job #1728573)
Borderou de evaluare (job #1728573)
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:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxM + 3, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:106: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:107:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:110:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxl + 3, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:24:34:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 112ms | 3064kb | OK | 10 |
| 2 | 20ms | 1180kb | OK | 10 |
| 3 | 60ms | 1656kb | OK | 10 |
| 4 | 88ms | 1652kb | OK | 10 |
| 5 | 144ms | 2800kb | OK | 10 |
| 6 | 248ms | 3956kb | OK | 10 |
| 7 | 376ms | 5104kb | OK | 10 |
| 8 | Depăşit | 5164kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5168kb | Time limit exceeded. | 0 |
| 10 | 396ms | 5180kb | OK | 10 |
| Punctaj total | 80 |