Pagini recente » Borderou de evaluare (job #2492292) | Borderou de evaluare (job #2492277) | Borderou de evaluare (job #2210783) | Borderou de evaluare (job #556782) | Borderou de evaluare (job #2530172)
Borderou de evaluare (job #2530172)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:23: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[100003]' [-Wformat=]
scanf("%d%s",&c,&a);
^
main.cpp:50:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,n,c,nre=0,p,p1,p2,p3,r,rezf=1;
^
main.cpp:51:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in","r",stdin);
^
main.cpp:52:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out","w",stdout);
^
main.cpp:53:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&c,&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 3ms | 131kb | OK | 5 |
3 | 3ms | 262kb | OK | 5 |
4 | 4ms | 262kb | OK | 5 |
5 | 4ms | 524kb | OK | 5 |
6 | 4ms | 524kb | OK | 5 |
7 | 4ms | 524kb | OK | 5 |
8 | 4ms | 524kb | OK | 5 |
9 | 4ms | 524kb | OK | 5 |
10 | 4ms | 524kb | OK | 5 |
11 | 4ms | 524kb | OK | 5 |
12 | 5ms | 524kb | Incorect | 0 |
13 | 5ms | 524kb | Incorect | 0 |
14 | 5ms | 524kb | Incorect | 0 |
15 | 5ms | 655kb | Incorect | 0 |
16 | 6ms | 655kb | Incorect | 0 |
17 | 6ms | 655kb | Incorect | 0 |
18 | 6ms | 655kb | Incorect | 0 |
19 | 7ms | 655kb | Incorect | 0 |
20 | 6ms | 655kb | Incorect | 0 |
Punctaj total | 55 |