Borderou de evaluare (job #1463107)

Utilizator theprdvtheprdv theprdv Data 20 iulie 2015 02:49:34
Problema Ograzi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘std::pair<int, int> read()’: user.cpp:24:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b); ^ user.cpp: In function ‘int main()’: user.cpp:47:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ograzi.in", "r", stdin); ^ user.cpp:48:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ograzi.out", "w", stdout); ^ user.cpp:50:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &N, &M, &W, &H); ^ /tmp/cc1XOfy9.o: In function `read()': user.cpp:(.text+0x4b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8164kbKilled by signal 6(SIGABRT).0
2Depăşit8576kbTime limit exceeded.0
372ms8844kbKilled by signal 6(SIGABRT).0
4Depăşit8572kbTime limit exceeded.0
5Depăşit8592kbTime limit exceeded.0
6Depăşit8580kbTime limit exceeded.0
7Depăşit8416kbTime limit exceeded.0
8Depăşit8444kbTime limit exceeded.0
916ms8080kbOK10
1032ms8088kbOK10
Punctaj total20

Ceva nu functioneaza?