Pagini recente » Borderou de evaluare (job #1885940) | Borderou de evaluare (job #1059847) | Borderou de evaluare (job #3126432) | Borderou de evaluare (job #1885987) | Borderou de evaluare (job #1094345)
Borderou de evaluare (job #1094345)
Raport evaluator
Compilare:
main.cpp: In function 'void citire()':
main.cpp:22:33: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld %ld %ld",&n,&m,&q);
^
main.cpp:22:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:22:33: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp: In function 'int main()':
main.cpp:156:48: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld %ld %ld %ld",&l1,&c1,&l2,&c2);
^
main.cpp:156:48: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:156:48: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:156:48: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'int*' [-Wformat=]
main.cpp:158:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld\n",(dparc)/2);
^
main.cpp: In function 'void citire()':
main.cpp:22:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&n,&m,&q);
^
main.cpp:25:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ca);
^
main.cpp:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ca);
^
main.cpp: In function 'int main()':
main.cpp:139:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in","r",stdin);
^
main.cpp:140:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out","w",stdout);
^
main.cpp:156:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld %ld",&l1,&c1,&l2,&c2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 31ms | 12713kb | OK! | 8 |
| 2 | 38ms | 13369kb | OK! | 10 |
| 3 | 91ms | 18206kb | OK! | 10 |
| 4 | 194ms | 26845kb | OK! | 10 |
| 5 | 452ms | 56430kb | Time limit exceeded | 0 |
| 6 | 451ms | 55517kb | Time limit exceeded | 0 |
| 7 | 451ms | 53817kb | Time limit exceeded | 0 |
| 8 | 452ms | 58408kb | Time limit exceeded | 0 |
| 9 | 452ms | 49754kb | Time limit exceeded | 0 |
| 10 | 452ms | 50016kb | Time limit exceeded | 0 |
| 11 | 23ms | 12320kb | OK! | 1 |
| 12 | 28ms | 12320kb | OK! | 1 |
| Punctaj total | 40 |