Borderou de evaluare (job #1391271)

Utilizator BaweeLazar Vlad Bawee Data 17 martie 2015 19:16:06
Problema Modulo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d%d",&a,&b,&c); ^ user.cpp:9:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:9:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:26:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",p%c); ^ user.cpp:9:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&a,&b,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms240kbOK10
30ms244kbOK10
40ms240kbOK10
50ms244kbOK10
60ms240kbOK10
70ms240kbOK10
80ms240kbOK10
90ms248kbOK10
100ms244kbOK10
Punctaj total100

Ceva nu functioneaza?