Borderou de evaluare (job #1215601)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 august 2014 15:26:21
Problema Map Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("map.in", "r", stdin); ^ user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("map.out", "w", stdout); ^ user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:38:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[0]); ^ user.cpp:42:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i]); ^ 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:42:19: /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/cc6xjmly.o: In function `main': user.cpp:(.text.startup+0x18f): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x15a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOK5
20ms336kbOK5
30ms332kbOK5
40ms332kbOK5
50ms496kbOK5
60ms488kbOK5
70ms496kbOK5
80ms492kbOK5
952ms3600kbOK5
1068ms4044kbOK5
1164ms4048kbOK5
1276ms4244kbOK5
1372ms4240kbOK5
1468ms3344kbOK5
1564ms3480kbOK5
1676ms3832kbOK5
1780ms4240kbOK5
1888ms4240kbOK5
1988ms4196kbOK5
2080ms3952kbOK5
Punctaj total100

Ceva nu functioneaza?