Borderou de evaluare (job #2402571)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 10 aprilie 2019 20:12:13
Problema Şir de perechi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in, "%d", fi + i) ; ^ main.cpp:20:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in, "%d", se + i) ; ^ main.cpp:55:46: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] return fprintf(out, "%d %d", mxb + 1, mxa), 0 ; ^ main.cpp:55:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] main.cpp:57:46: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] return fprintf(out, "%d %d", mnb - 1, mna), 0 ; ^ main.cpp:57:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] main.cpp:59:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] return fprintf(out, "%d %d", mna * mxb, mna * mxa), 0 ; ^ main.cpp:59:54: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] main.cpp:15:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n) ; ^ main.cpp:17:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", fi + i) ; ^ main.cpp:20:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", se + i) ; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect!5
22ms131kbIncorect0
32ms131kbIncorect0
4571ms16121kbIncorect0
5752ms16121kbIncorect0
6884ms16121kbIncorect0
7690ms16121kbIncorect0
8794ms16121kbIncorect0
9569ms16121kbIncorect0
10756ms16121kbIncorect0
11643ms16121kbIncorect0
12766ms16121kbIncorect0
13642ms16121kbIncorect0
14739ms16121kbIncorect0
15734ms16121kbIncorect0
16767ms16121kbIncorect0
17586ms16121kbIncorect0
18723ms16121kbIncorect0
19754ms16121kbIncorect0
20773ms16121kbIncorect0
Punctaj total5

Ceva nu functioneaza?