Borderou de evaluare (job #1418135)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 11 aprilie 2015 23:22:02
Problema Hotel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hotel.in","r",stdin); ^ user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hotel.out","w",stdout); ^ user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &Q); ^ user.cpp:54:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tip); ^ user.cpp:58:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &st, &dr); dr = st + dr - 1; ^ user.cpp:63:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &st, &dr); dr = st + dr - 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit3768kbTime limit exceeded.0
24ms3768kbOK10
328ms3764kbOK10
4Depăşit3764kbTime limit exceeded.0
5Depăşit3768kbTime limit exceeded.0
6Depăşit3768kbTime limit exceeded.0
7Depăşit3760kbTime limit exceeded.0
8Depăşit3764kbTime limit exceeded.0
9Depăşit3764kbTime limit exceeded.0
10Depăşit3768kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?