Borderou de evaluare (job #1662244)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 24 martie 2016 16:43:43
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
10ms452kbIncorect0
20ms448kbIncorect0
30ms484kbIncorect0
40ms484kbIncorect0
50ms484kbIncorect0
60ms484kbIncorect0
70ms480kbIncorect0
80ms480kbIncorect0
90ms480kbIncorect0
100ms484kbIncorect0
118ms580kbIncorect0
128ms584kbIncorect0
138ms584kbIncorect0
148ms576kbIncorect0
15176ms1996kbKilled by signal 11(SIGSEGV).0
16180ms2036kbKilled by signal 11(SIGSEGV).0
17184ms2068kbKilled by signal 11(SIGSEGV).0
18180ms2004kbKilled by signal 11(SIGSEGV).0
19176ms1948kbKilled by signal 11(SIGSEGV).0
20180ms2016kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?