Pagini recente » Cod sursa (job #1850520) | Cod sursa (job #355338) | Cod sursa (job #2228530) | Cod sursa (job #74668) | Borderou de evaluare (job #1579410)
Borderou de evaluare (job #1579410)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out,"%d\n",r[n]);
^
user.cpp:22:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d\n",&n,&c);
^
user.cpp:24:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(v+1,Q,in);
^
user.cpp:27:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(t[i],100,in);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:24:20:
/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 | 416kb | OK | 10 |
| 2 | 4ms | 600kb | OK | 10 |
| 3 | 352ms | 13092kb | OK | 10 |
| 4 | Depăşit | 20244kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 20480kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 20604kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 20080kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 20712kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1160kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 20620kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |