Borderou de evaluare (job #2614719)

Utilizator MatteoalexandruMatteo Verzotti Matteoalexandru Data 12 mai 2020 16:20:39
Problema Interclasare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 32

Raport evaluator

Compilare: main.cpp: In function 'int Cautbin()': main.cpp:48:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:97:29: warning: left operand of comma operator has no effect [-Wunused-value] for(int i = 1, j = 1; i <= n, j <= m;) { ~~^~~~ main.cpp:101:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(i <= n || j <= n) ^ main.cpp:111:29: warning: left operand of comma operator has no effect [-Wunused-value] for(int i = 1, j = 1; i <= n, j <= m;) { ~~^~~~ main.cpp:82:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("interclasare.in", "r", stdin); ^ main.cpp:83:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("interclasare.out", "w", stdout); ^ main.cpp:85:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:87:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i].first); ^ main.cpp:88:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:90:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i].first); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms262kbOK!10
26ms262kbSir invalid!4
37ms262kbLungime incorecta!0
49ms262kbLungime incorecta!0
510ms393kbSir invalid!4
612ms393kbOK!10
714ms393kbSir invalid!4
815ms393kbLungime incorecta!0
917ms393kbLungime incorecta!0
1019ms524kbLungime incorecta!0
Punctaj total32

Ceva nu functioneaza?