Borderou de evaluare (job #2059910)

Utilizator B_RazvanBaboiu Razvan B_Razvan Data 7 noiembrie 2017 18:58:28
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In member function ‘Big& Big::operator*(long long int&)’: user.cpp:37:13: warning: reference to local variable ‘P’ returned [-Wreturn-local-addr] Big P; ^ user.cpp: In member function ‘Big Big::printNumb()’: user.cpp:48:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In member function ‘Big& Big::operator+(Big)’: user.cpp:52:13: warning: reference to local variable ‘rez’ returned [-Wreturn-local-addr] Big rez = Big(); ^ user.cpp: In function ‘void read()’: user.cpp:74:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:76:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &m[i]); ^ user.cpp:78:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &p[i]); ^ user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:76:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m[i]); ^ user.cpp:78:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p[i]); ^ user.cpp: In function ‘int main()’: user.cpp:108:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm3.in", "r", stdin); ^ user.cpp:109:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm3.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms576kbWrong answer!0
20ms508kbOK!10
30ms476kbKilled by signal 11(SIGSEGV).0
40ms476kbKilled by signal 11(SIGSEGV).0
50ms476kbKilled by signal 11(SIGSEGV).0
60ms468kbKilled by signal 11(SIGSEGV).0
70ms476kbKilled by signal 11(SIGSEGV).0
80ms476kbKilled by signal 11(SIGSEGV).0
90ms464kbKilled by signal 11(SIGSEGV).0
100ms828kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?