Pagini recente » Borderou de evaluare (job #2471414) | Cod sursa (job #1236167) | Borderou de evaluare (job #2417075)
Borderou de evaluare (job #2417075)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:122:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&t);
^
main.cpp:125:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(a + 1,NMAX + 5,f);
^
main.cpp:126:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(b + 1,NMAX + 5,f);
^
main.cpp:127:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c + 1,NMAX + 5,f);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:125:32:
/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:126:32:
/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:127:32:
/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 | 2ms | 262kb | Numerele nu pot incepe cu 0 | 0 |
2 | 3ms | 262kb | Numerele nu pot incepe cu 0 | 0 |
3 | 3ms | 262kb | Numerele nu pot incepe cu 0 | 0 |
4 | 3ms | 262kb | Corect | 5 |
5 | 3ms | 393kb | Corect | 5 |
6 | 3ms | 393kb | Numerele nu pot incepe cu 0 | 0 |
7 | 3ms | 393kb | Numerele nu pot incepe cu 0 | 0 |
8 | 3ms | 393kb | Corect | 5 |
9 | 15ms | 917kb | Numerele nu pot incepe cu 0 | 0 |
10 | 15ms | 917kb | Numerele nu pot incepe cu 0 | 0 |
11 | 19ms | 1179kb | Corect | 5 |
12 | 17ms | 1179kb | Numerele nu pot incepe cu 0 | 0 |
13 | 20ms | 1179kb | Corect | 5 |
14 | 81ms | 4063kb | Numerele nu pot incepe cu 0 | 0 |
15 | 82ms | 4194kb | Numerele nu pot incepe cu 0 | 0 |
16 | 77ms | 4194kb | Corect | 5 |
17 | 87ms | 4325kb | Corect | 5 |
18 | 80ms | 4325kb | Corect | 5 |
19 | 84ms | 4456kb | Corect | 5 |
20 | 71ms | 4456kb | Numerele nu pot incepe cu 0 | 0 |
Punctaj total | 45 |