Pagini recente » Borderou de evaluare (job #3353303) | Borderou de evaluare (job #1112547) | Borderou de evaluare (job #2588156) | Borderou de evaluare (job #1025566) | Borderou de evaluare (job #1183112)
Borderou de evaluare (job #1183112)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:25:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {fscanf(f,"%d",&v[i]);
^
user.cpp:28:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
while (m!=0) {fscanf(f,"%d",&k);
^
user.cpp:29:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (k==0) {fscanf(f,"%d %d",&a,&b);
^
user.cpp:32:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (k==1) {fscanf(f,"%d %d",&a,&b);
^
user.cpp:34:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (k==2) {fscanf(f,"%d",&a);
^
user.cpp:42:26: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (s!=a) fprintf(g,"-1\n");
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 4ms | 300kb | OK | 10 |
| 4 | 28ms | 452kb | OK | 10 |
| 5 | 68ms | 528kb | OK | 10 |
| 6 | 104ms | 760kb | OK | 10 |
| 7 | 112ms | 916kb | OK | 10 |
| 8 | 160ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 164ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 164ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 70 |