Pagini recente » Borderou de evaluare (job #1920931) | Borderou de evaluare (job #2835618) | Borderou de evaluare (job #3119731) | Borderou de evaluare (job #1508436) | Borderou de evaluare (job #1950113)
Borderou de evaluare (job #1950113)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&N,&Q);
^
user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&val);
^
user.cpp:30:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"\n");
^
user.cpp:31:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C+2,NMAX,f);
^
user.cpp:35:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&l,&r);
^
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:31: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 | 4ms | 1500kb | OK | 5 |
2 | 4ms | 1488kb | OK | 5 |
3 | 4ms | 1512kb | OK | 5 |
4 | 4ms | 1516kb | OK | 5 |
5 | 4ms | 1520kb | OK | 5 |
6 | 80ms | 2632kb | OK | 5 |
7 | 80ms | 2440kb | OK | 5 |
8 | 76ms | 2560kb | OK | 5 |
9 | 88ms | 2580kb | OK | 5 |
10 | 76ms | 2720kb | OK | 5 |
11 | 76ms | 2640kb | OK | 5 |
12 | 80ms | 2640kb | OK | 5 |
13 | 424ms | 5188kb | OK | 5 |
14 | 432ms | 5800kb | OK | 5 |
15 | 420ms | 5680kb | OK | 5 |
16 | 416ms | 6496kb | OK | 5 |
17 | 420ms | 5132kb | OK | 5 |
18 | 416ms | 5000kb | OK | 5 |
19 | 0ms | 1452kb | OK | 5 |
20 | 0ms | 1460kb | OK | 5 |
Punctaj total | 100 |