Pagini recente » Borderou de evaluare (job #503634) | Borderou de evaluare (job #3037804) | Borderou de evaluare (job #2932164) | Borderou de evaluare (job #3142152) | Borderou de evaluare (job #2268259)
Borderou de evaluare (job #2268259)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&n,&m);
^
main.cpp:30:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(C + 1,MMAX + 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:30:26:
/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 | 6ms | 131kb | OK | 10 |
3 | 14ms | 131kb | OK | 10 |
4 | 68ms | 131kb | OK | 10 |
5 | 114ms | 131kb | OK | 10 |
6 | 161ms | 131kb | OK | 10 |
7 | 188ms | 131kb | OK | 10 |
8 | 480ms | 131kb | OK | 10 |
9 | 253ms | 131kb | OK | 10 |
10 | 244ms | 131kb | OK | 10 |
Punctaj total | 100 |