Pagini recente » Diferente pentru problema/arbore2 intre reviziile 23 si 1 | Cod sursa (job #1820648) | Rezultatele filtrării | Rezultatele filtrării | Borderou de evaluare (job #2290499)
Borderou de evaluare (job #2290499)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:61:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
scanf("%s",&s);
^
main.cpp:55:13: warning: unused variable 'j' [-Wunused-variable]
int i,n,j,nre=0,cer,p,p1,p2,p3;
^
main.cpp:55:25: warning: unused variable 'p' [-Wunused-variable]
int i,n,j,nre=0,cer,p,p1,p2,p3;
^
main.cpp:55:27: warning: unused variable 'p1' [-Wunused-variable]
int i,n,j,nre=0,cer,p,p1,p2,p3;
^~
main.cpp:55:30: warning: unused variable 'p2' [-Wunused-variable]
int i,n,j,nre=0,cer,p,p1,p2,p3;
^~
main.cpp:55:33: warning: unused variable 'p3' [-Wunused-variable]
int i,n,j,nre=0,cer,p,p1,p2,p3;
^~
main.cpp:58: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:59: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:60:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&cer);
^
main.cpp:61:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 5 |
2 | 4ms | 393kb | OK | 5 |
3 | 6ms | 917kb | OK | 5 |
4 | 7ms | 1179kb | OK | 5 |
5 | 3ms | 262kb | OK | 5 |
6 | 3ms | 262kb | OK | 5 |
7 | 3ms | 262kb | OK | 5 |
8 | 3ms | 262kb | OK | 5 |
9 | 3ms | 262kb | OK | 5 |
10 | 3ms | 262kb | OK | 5 |
11 | 3ms | 393kb | OK | 5 |
12 | 4ms | 524kb | OK | 5 |
13 | 4ms | 524kb | OK | 5 |
14 | 5ms | 655kb | OK | 5 |
15 | 5ms | 786kb | OK | 5 |
16 | 6ms | 917kb | OK | 5 |
17 | 6ms | 917kb | OK | 5 |
18 | 7ms | 1048kb | OK | 5 |
19 | 7ms | 1179kb | OK | 5 |
20 | 7ms | 1179kb | OK | 5 |
Punctaj total | 100 |