Pagini recente » Borderou de evaluare (job #510755) | Borderou de evaluare (job #175819) | Borderou de evaluare (job #364629) | Borderou de evaluare (job #1853474) | Borderou de evaluare (job #1434608)
Borderou de evaluare (job #1434608)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:101:55: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(op==3) printf("%ld\n", (count(root,x)?1:0) );
^
user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin);
^
user.cpp:90:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out","w",stdout);
^
user.cpp:96:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:98:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&op,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 448kb | OK | 10 | 10 |
2 | 0ms | 444kb | OK | 10 | 10 |
3 | 0ms | 440kb | OK | 10 | 10 |
4 | 64ms | 680kb | OK | 10 | 30 |
5 | 116ms | 1028kb | OK | 10 |
6 | 120ms | 2552kb | OK | 10 |
7 | 448ms | 2788kb | OK | 10 | 10 |
8 | Depăşit | 9800kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 9148kb | Time limit exceeded. | 0 |
10 | Depăşit | 7536kb | Time limit exceeded. | 0 |
Punctaj total | 70 |