Borderou de evaluare (job #1474003)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 20 august 2015 17:43:52
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:75: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:76: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:78:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:81: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:85: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
10ms376kbOK10
20ms356kbOK10
30ms372kbOK10
40ms372kbOK10
50ms372kbOK10
60ms404kbOK10
752msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
952msDepăşitMemory limit exceeded.0
104ms492kbOK10
Punctaj total70

Ceva nu functioneaza?