Borderou de evaluare (job #2408015)

Utilizator giotoPopescu Ioan gioto Data 17 aprilie 2019 14:49:53
Problema Harbingers Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:75:18: warning: unused variable 'ok' [-Wunused-variable] bool ok = 0; ^~ main.cpp:67:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("harbingers.in", "r", stdin); ^ main.cpp:68:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("harbingers.out", "w", stdout); ^ main.cpp:70:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:73:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &c); ^ main.cpp:82:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 2; i <= n ; ++i) scanf("%d%d", &B[i], &A[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms2621kbOK10
213ms2883kbOK10
3163ms8781kbOK10
4199ms12058kbOK10
5282ms14286kbOK10
6341ms17039kbOK10
7210ms10878kbOK10
8359ms15855kbOK10
9385ms17313kbOK10
10324ms16510kbOK10
Punctaj total100

Ceva nu functioneaza?