Pagini recente » Cod sursa (job #1015643) | Cod sursa (job #659971) | Borderou de evaluare (job #1751105) | Borderou de evaluare (job #1275097) | Borderou de evaluare (job #1519112)
Borderou de evaluare (job #1519112)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&n,&m,&k);
^
user.cpp:21:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"\n");
^
user.cpp:22:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s1,20001,f);
^
user.cpp:23:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s2,20001,f);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:22:22:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:23:22:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 324kb | OK | 10 |
| 2 | 0ms | 316kb | OK | 10 |
| 3 | 0ms | 304kb | OK | 10 |
| 4 | 0ms | 872kb | OK | 10 |
| 5 | 8ms | 4128kb | OK | 10 |
| 6 | 36ms | 14972kb | OK | 10 |
| 7 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 56ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 56ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 56ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |