Pagini recente » Borderou de evaluare (job #1298432) | Borderou de evaluare (job #2675013) | Borderou de evaluare (job #2963508) | Borderou de evaluare (job #1330117) | Borderou de evaluare (job #1218476)
Borderou de evaluare (job #1218476)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:14:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<=26;i++) scanf("%d",&L[i]);
^
user.cpp:15:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:17:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,sizeof(s),stdin); n=strlen(s+1)-1;
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp: In function ‘int main()’:
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:17:31:
/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 |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 100 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 456kb | OK | 10 |
7 | 4ms | 1220kb | OK | 10 |
8 | 12ms | 1232kb | OK | 10 |
9 | 4ms | 1228kb | OK | 10 |
10 | 4ms | 1232kb | OK | 10 |
Punctaj total | 100 |