Pagini recente » Borderou de evaluare (job #951325) | Borderou de evaluare (job #504870) | Borderou de evaluare (job #1056311) | Borderou de evaluare (job #1297408) | Borderou de evaluare (job #1093436)
Borderou de evaluare (job #1093436)
Raport evaluator
Compilare:
main.cpp: In function 'void citire()':
main.cpp:18: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:18:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:18: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:136: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:136:48: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:136:48: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:136:48: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'int*' [-Wformat=]
main.cpp:138:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld\n",(dparc+1)/2);
^
main.cpp: In function 'void citire()':
main.cpp:18: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:21:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ca);
^
main.cpp:24: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:119: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:120: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:136: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 | 25ms | 12713kb | OK! | 8 |
2 | 35ms | 13893kb | OK! | 10 |
3 | 68ms | 20316kb | Raspuns gresit! | 0 |
4 | 452ms | 32243kb | Time limit exceeded | 0 |
5 | 216ms | 37355kb | Killed by Signal 11 | 0 |
6 | 254ms | 37224kb | Killed by Signal 11 | 0 |
7 | 259ms | 36962kb | Killed by Signal 11 | 0 |
8 | 275ms | 37093kb | Killed by Signal 11 | 0 |
9 | 271ms | 37879kb | Killed by Signal 11 | 0 |
10 | 265ms | 37261kb | Killed by Signal 11 | 0 |
11 | 24ms | 12320kb | OK! | 1 |
12 | 27ms | 12320kb | OK! | 1 |
Punctaj total | 20 |