Borderou de evaluare (job #1274294)

Utilizator LiquironIvan Liviu-Marian Liquiron Data 23 noiembrie 2014 18:05:53
Problema Taste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(f, "%u%u", &x, &y); ^ user.cpp:9:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:27:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(g, "%u %u", y/yval, ysol); ^ user.cpp:27:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long long unsigned int’ [-Wformat=] user.cpp:8:27: warning: unused variable ‘xsol’ [-Wunused-variable] unsigned long long x, y, xsol, ysol, yval, temp; ^ user.cpp:9:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%u%u", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbIncorect0
20ms240kbIncorect0
30ms240kbIncorect0
40ms236kbCorect10
50ms240kbIncorect0
60ms244kbIncorect0
70ms240kbIncorect0
80ms240kbIncorect0
90ms244kbIncorect0
100ms240kbIncorect0
Punctaj total10

Ceva nu functioneaza?