Pagini recente » Borderou de evaluare (job #2622787) | Borderou de evaluare (job #2095320) | Borderou de evaluare (job #2393885) | Borderou de evaluare (job #3229104) | Borderou de evaluare (job #2330734)
Borderou de evaluare (job #2330734)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:57:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("parpal.in", "r", stdin);
^
main.cpp:58:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("parpal.out", "w", stdout);
^
main.cpp:61:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
main.cpp:62:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s + 1, NMAX, stdin);
^
main.cpp:64:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s + 1, NMAX, stdin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:62:29:
/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);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:64:31:
/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 | 3ms | 131kb | OK | 10 |
2 | 13ms | 131kb | OK | 10 |
3 | 79ms | 393kb | OK | 10 |
4 | 85ms | 262kb | OK | 10 |
5 | 68ms | 262kb | OK | 10 |
6 | 251ms | 655kb | Time limit exceeded | 0 |
7 | 252ms | 917kb | Time limit exceeded | 0 |
8 | 253ms | 1048kb | Time limit exceeded | 0 |
9 | 252ms | 1048kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 60 |