Borderou de evaluare (job #1474008)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 20 august 2015 17:48:02
Problema Motel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("motel.in","r",stdin); ^ user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("motel.out","w",stdout); ^ user.cpp:82:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:85:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &left[i], &right[i]); ^ user.cpp:89:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] pos[i].S = i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbOK10
20ms292kbOK10
30ms308kbOK10
40ms316kbOK10
50ms316kbOK10
60ms312kbOK10
7Depăşit428kbTime limit exceeded.0
8Depăşit428kbTime limit exceeded.0
9Depăşit444kbTime limit exceeded.0
104ms392kbOK10
Punctaj total70

Ceva nu functioneaza?