Borderou de evaluare (job #1649623)

Utilizator delia_99Delia Draghici delia_99 Data 11 martie 2016 14:25:40
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int whr(char)’: user.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:97:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.in","r",stdin); ^ user.cpp:98:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.out","w",stdout); ^ user.cpp:99:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:101:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[i]+1); ^ user.cpp:117:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(dir); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:101:21: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccqo22F1.o: In function `main': user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x185): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOk!5
20ms316kbWrong answer!0
332ms2636kbOk!5
4Depăşit7460kbTime limit exceeded.0
5Depăşit12316kbTime limit exceeded.0
6Depăşit10300kbTime limit exceeded.0
7Depăşit9248kbTime limit exceeded.0
8Depăşit5920kbTime limit exceeded.0
9Depăşit9460kbTime limit exceeded.0
10Depăşit9992kbTime limit exceeded.0
11Depăşit9596kbTime limit exceeded.0
12Depăşit10204kbTime limit exceeded.0
13Depăşit12452kbTime limit exceeded.0
14Depăşit11324kbTime limit exceeded.0
15Depăşit12280kbTime limit exceeded.0
16Depăşit11584kbTime limit exceeded.0
17Depăşit11064kbTime limit exceeded.0
18Depăşit10796kbTime limit exceeded.0
19Depăşit12256kbTime limit exceeded.0
20Depăşit12004kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?