Pagini recente » Borderou de evaluare (job #1968416) | Borderou de evaluare (job #534600) | Borderou de evaluare (job #1564544) | Borderou de evaluare (job #218368) | Borderou de evaluare (job #1356303)
Borderou de evaluare (job #1356303)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&m);
^
user.cpp:9:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:12:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&father[1][i]);
^
user.cpp:23:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&q,&p);
^
user.cpp:23:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:31:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",q);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out","w",stdout);
^
user.cpp:9:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&m);
^
user.cpp:12:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&father[1][i]);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&q,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK! | 10 |
2 | 0ms | 364kb | OK! | 10 |
3 | 4ms | 388kb | OK! | 10 |
4 | 12ms | 1016kb | OK! | 10 |
5 | 16ms | 1016kb | OK! | 10 |
6 | 60ms | 2568kb | OK! | 10 |
7 | 104ms | 4924kb | OK! | 10 |
8 | 200ms | 7352kb | OK! | 10 |
9 | 552ms | 14384kb | OK! | 10 |
10 | 616ms | 17832kb | OK! | 10 |
Punctaj total | 100 |