Borderou de evaluare (job #2057237)

Utilizator eduardandrei20Nechifor Eduard Andrei eduardandrei20 Data 4 noiembrie 2017 15:00:16
Problema Jap2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void fread()’: user.cpp:11:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d",& MOD , & nr); ^ user.cpp:11:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp: At global scope: user.cpp:53:7: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() ^ user.cpp: In function ‘int main()’: user.cpp:61:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d",&a,&b); ^ user.cpp:61:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:70:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",rez%MOD); ^ user.cpp: In function ‘void fread()’: user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jap2.in","r",stdin); ^ user.cpp:11:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",& MOD , & nr); ^ user.cpp: In function ‘int main()’: user.cpp:57:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jap2.out","w",stdout); ^ user.cpp:61:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbKilled by signal 11(SIGSEGV).0
20ms252kbKilled by signal 11(SIGSEGV).0
30ms236kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms228kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms228kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms228kbKilled by signal 11(SIGSEGV).0
1140ms248kbIncorect0
12104ms252kbIncorect0
13212ms256kbIncorect0
14220ms248kbIncorect0
1556ms256kbIncorect0
16124ms248kbIncorect0
17204ms252kbKilled by signal 11(SIGSEGV).0
18272ms252kbIncorect0
19276ms252kbIncorect0
20276ms248kbIncorect0
Punctaj total0

Ceva nu functioneaza?