Pagini recente » Borderou de evaluare (job #295596) | Borderou de evaluare (job #570004) | Borderou de evaluare (job #2107012) | Borderou de evaluare (job #550135) | Borderou de evaluare (job #1094342)
Borderou de evaluare (job #1094342)
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:155: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:155:48: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:155:48: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:155:48: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'int*' [-Wformat=]
main.cpp:157: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:138: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:139: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:155: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 | 451ms | 43028kb | Time limit exceeded | 0 |
2 | 453ms | 30281kb | Time limit exceeded | 0 |
3 | 450ms | 29757kb | Time limit exceeded | 0 |
4 | 453ms | 32514kb | Time limit exceeded | 0 |
5 | 452ms | 26615kb | Time limit exceeded | 0 |
6 | 453ms | 27140kb | Time limit exceeded | 0 |
7 | 453ms | 28446kb | Time limit exceeded | 0 |
8 | 459ms | 26218kb | Time limit exceeded | 0 |
9 | 452ms | 26222kb | Time limit exceeded | 0 |
10 | 452ms | 28450kb | Time limit exceeded | 0 |
11 | 33ms | 12320kb | OK! | 1 |
12 | 28ms | 12320kb | OK! | 1 |
Punctaj total | 2 |