Borderou de evaluare (job #1662241)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 24 martie 2016 16:41:12
Problema Cabana2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:78:5: note: in expansion of macro ‘fs’ fs(n); ^ user.cpp:21:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:82:9: note: in expansion of macro ‘fs’ fs(a.x); ^ user.cpp:21:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] #define fs(n) fscanf(f,"%I64d",&n) ^ user.cpp:83:9: note: in expansion of macro ‘fs’ fs(a.y); ^ user.cpp:22:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] #define fp(n) fprintf(g,"%I64d",n) ^ user.cpp:114:5: note: in expansion of macro ‘fp’ fp(mx); ^ user.cpp:78:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(n); ^ user.cpp:82:16: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(a.x); ^ user.cpp:83:16: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(a.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbIncorect0
20ms448kbIncorect0
30ms484kbIncorect0
40ms476kbIncorect0
50ms484kbIncorect0
60ms480kbIncorect0
70ms480kbIncorect0
80ms484kbIncorect0
90ms484kbIncorect0
100ms484kbIncorect0
118ms580kbIncorect0
128ms576kbIncorect0
138ms584kbIncorect0
148ms580kbIncorect0
15176ms1992kbKilled by signal 11(SIGSEGV).0
16180ms2032kbKilled by signal 11(SIGSEGV).0
17188ms2064kbKilled by signal 11(SIGSEGV).0
18180ms2008kbKilled by signal 11(SIGSEGV).0
19172ms1948kbKilled by signal 11(SIGSEGV).0
20180ms2016kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?