Pagini recente » Borderou de evaluare (job #2525867) | Borderou de evaluare (job #2417631) | Borderou de evaluare (job #2757959) | Borderou de evaluare (job #1518715) | Borderou de evaluare (job #2135868)
Borderou de evaluare (job #2135868)
Raport evaluator
Compilare:
user.cpp: In function ‘void cit(int&)’:
user.cpp:26:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
for ( x = 0 ; ch[poz] >= '0' && ch[poz] <= '9' || ch[poz] == '-' ; (ch[poz] == '-' ? semn = -1 : x = x * 10 + ch[poz] - '0'), verf ) ;
^
user.cpp: In function ‘int main()’:
user.cpp:66:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen (FIN, "r", stdin);
^
user.cpp:67:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen (FOU, "w", stdout);
^
user.cpp: In function ‘void cit(int&)’:
user.cpp:24:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if ( ch[0] == '\0' ) fread ( ch, 1, hg, stdin ) ;
^
user.cpp:25:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
else for ( ; (ch[poz] < '0' || ch[poz] > '9') && ch[poz] != '-' ; verf ) ;
^
user.cpp:26:5: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
for ( x = 0 ; ch[poz] >= '0' && ch[poz] <= '9' || ch[poz] == '-' ; (ch[poz] == '-' ? semn = -1 : x = x * 10 + ch[poz] - '0'), verf ) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1028kb | OK | 5 | 5 |
2 | 0ms | 1028kb | OK | 5 | 5 |
3 | 0ms | 1028kb | OK | 5 | 5 |
4 | 0ms | 1028kb | OK | 5 | 5 |
5 | 0ms | 1072kb | OK | 5 | 5 |
6 | 0ms | 1040kb | OK | 5 | 10 |
7 | 0ms | 1060kb | OK | 5 |
8 | 12ms | 1776kb | OK | 5 | 15 |
9 | 20ms | 2776kb | OK | 5 |
10 | 0ms | 1068kb | OK | 5 |
11 | 20ms | 2356kb | OK | 5 | 20 |
12 | 52ms | 5076kb | OK | 5 |
13 | 40ms | 3888kb | OK | 5 |
14 | 72ms | 6404kb | OK | 5 |
15 | 92ms | 7720kb | OK | 5 | 15 |
16 | 72ms | 6156kb | OK | 5 |
17 | 0ms | 1076kb | OK | 5 |
18 | 112ms | 8092kb | OK | 5 | 15 |
19 | 136ms | 9660kb | OK | 5 |
20 | 0ms | 1104kb | OK | 5 |
Punctaj total | 100 |