Borderou de evaluare (job #2590343)

Utilizator MatteoalexandruMatteo Verzotti Matteoalexandru Data 27 martie 2020 19:33:44
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In member function 'HugeN HugeN::operator=(HugeN)': main.cpp:57:9: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In member function 'HugeN HugeN::operator+=(int)': main.cpp:85:9: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In member function 'HugeN HugeN::operator+=(HugeN)': main.cpp:97:9: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In member function 'HugeN HugeN::operator-=(int)': main.cpp:107:9: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In member function 'HugeN HugeN::operator*=(int)': main.cpp:119:9: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:154: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); ^ main.cpp:155: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); ^ main.cpp:159:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:160:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; i++) scanf("%d", &v[i]); ^ main.cpp:161:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; i++) scanf("%d", &v2[i]); ^ main.cpp: In member function 'HugeN HugeN::operator=(int)': main.cpp:70:9: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In member function 'HugeN HugeN::operator*=(HugeN)': main.cpp:139:9: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
121ms10747kbOK!10
221ms10747kbOK!10
3113ms10878kbWrong answer!0
491ms10747kbWrong answer!0
595ms10747kbWrong answer!0
629ms10747kbWrong answer!0
794ms10747kbWrong answer!0
897ms10747kbWrong answer!0
925ms10747kbWrong answer!0
10126ms10747kbWrong answer!0
Punctaj total20

Ceva nu functioneaza?