Pagini recente » Borderou de evaluare (job #1068360) | Borderou de evaluare (job #2289422) | Borderou de evaluare (job #1093441)
Borderou de evaluare (job #1093441)
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:135: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:135:48: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:135:48: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:135:48: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'int*' [-Wformat=]
main.cpp:137: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: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:118: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:119: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:135: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 | 49ms | 24641kb | Raspuns gresit! | 0 |
2 | 66ms | 25034kb | Raspuns gresit! | 0 |
3 | 120ms | 26476kb | Raspuns gresit! | 0 |
4 | 237ms | 28573kb | Raspuns gresit! | 0 |
5 | 451ms | 33423kb | Time limit exceeded | 0 |
6 | 450ms | 33423kb | Time limit exceeded | 0 |
7 | 450ms | 33292kb | Time limit exceeded | 0 |
8 | 453ms | 33292kb | Time limit exceeded | 0 |
9 | 453ms | 33947kb | Time limit exceeded | 0 |
10 | 453ms | 33685kb | Time limit exceeded | 0 |
11 | 56ms | 24379kb | Raspuns gresit! | 0 |
12 | 56ms | 24379kb | Raspuns gresit! | 0 |
Punctaj total | 0 |