Pagini recente » Borderou de evaluare (job #2979429) | Borderou de evaluare (job #1958729) | Borderou de evaluare (job #2918345) | Borderou de evaluare (job #33738) | Borderou de evaluare (job #2387479)
Borderou de evaluare (job #2387479)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi4.in", "r", stdin) ;
^
main.cpp:24:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi4.out", "w", stdout) ;
^
main.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n) ;
^
main.cpp:35:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(cube + 1, MV, stdin) ;
^
In file included from /usr/include/stdio.h:936:0,
from main.cpp:2:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:35:30:
/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 | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 262kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 4ms | 262kb | OK | 10 |
9 | 7ms | 262kb | OK | 10 |
10 | 16ms | 262kb | OK | 10 |
Punctaj total | 100 |