Borderou de evaluare (job #2070948)
Raport evaluator
Compilare:
user.cpp: In function ‘char Advance()’:
user.cpp:27:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, SIZE, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.in", "r", stdin);
^
user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.out", "w", stdout);
^
user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &request);
^
user.cpp:59:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &c);
^
user.cpp:63:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[j]);
^
user.cpp:74:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &k, &c);
^
user.cpp:77:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:89:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 136ms | 600kb | OK | 10 |
2 | 148ms | 604kb | OK | 10 |
3 | 0ms | 308kb | OK | 10 |
4 | 52ms | 1368kb | OK | 10 |
5 | 60ms | 1388kb | OK | 10 |
6 | 124ms | 284kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 132ms | 280kb | OK | 10 |
9 | 124ms | 284kb | OK | 10 |
10 | 172ms | 280kb | OK | 10 |
Punctaj total | 100 |