Pagini recente » Borderou de evaluare (job #2761304) | Borderou de evaluare (job #2727780) | Borderou de evaluare (job #617942) | Borderou de evaluare (job #972366) | Borderou de evaluare (job #1538571)
Borderou de evaluare (job #1538571)
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 | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 8ms | 296kb | OK | 10 |
8 | 16ms | 340kb | OK | 10 |
9 | 24ms | 388kb | OK | 10 |
10 | 16ms | 380kb | OK | 10 |
Punctaj total | 100 |