Borderou de evaluare (job #2344501)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 15 februarie 2019 10:20:39
Problema Galeti2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fo,"%lld %lld\n", j, j - 1); ^ main.cpp:19:47: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] main.cpp:20:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fo,"%lld %lld\n", i, 1 + e); ^ main.cpp:22:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fo,"%lld %lld\n", j, j - 1); ^ main.cpp:22:47: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] main.cpp:24:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fo,"%lld %lld\n", j, 1); ^ main.cpp:24:43: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] main.cpp:28:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fo,"%lld %lld\n", j, j - 1); ^ main.cpp:28:47: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] main.cpp:30:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fo,"%lld %lld\n", j, 1); ^ main.cpp:30:43: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] main.cpp:10:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lld%lld", &n, &e); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect10
22ms131kbCorect5
32ms131kbCorect6
42ms131kbCorect7
52ms131kbCorect5
62ms131kbCorect5
72ms131kbCorect5
82ms131kbCorect4
92ms131kbCorect4
103ms131kbCorect4
113ms131kbCorect4
1210ms262kbCorect4
1330ms655kbCorect5
1444ms1048kbCorect5
1552ms917kbCorect5
1653ms917kbCorect5
1753ms917kbCorect5
1853ms1048kbCorect6
1959ms1310kbCorect6
Punctaj total100

Ceva nu functioneaza?