Borderou de evaluare (job #1297140)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 21 decembrie 2014 18:33:28
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int Query(int, int)’: user.cpp:21:11: warning: statement has no effect [-Wunused-value] for (x;x+rad<=y; x+=rad) ^ user.cpp: In function ‘int main()’: user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:30:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^ user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^ user.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms272kbOK10
3Depăşit344kbTime limit exceeded.0
4Depăşit280kbTime limit exceeded.0
5168ms652kbOK10
688ms648kbOK10
7Depăşit656kbTime limit exceeded.0
8Depăşit652kbTime limit exceeded.0
9Depăşit652kbTime limit exceeded.0
10Depăşit656kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?