Borderou de evaluare (job #1419548)

Utilizator livliviLivia Magureanu livlivi Data 15 aprilie 2015 22:01:40
Problema Ograzi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘punct get()’: user.cpp:34:17: warning: NULL used in arithmetic [-Wpointer-arith] while(s[j]!=NULL){ ^ user.cpp:24:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:106:36: 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:107:38: 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:111:37: 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/cctuEQHB.o: In function `get()': user.cpp:(.text+0x49): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
2Depăşit5292kbTime limit exceeded.0
3Depăşit5312kbTime limit exceeded.0
4Depăşit5312kbTime limit exceeded.0
5Depăşit5316kbTime limit exceeded.0
6Depăşit5316kbTime limit exceeded.0
7Depăşit3292kbTime limit exceeded.0
872ms3324kbIncorect0
94ms276kbOK10
1032ms272kbOK10
Punctaj total30

Ceva nu functioneaza?