Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1631538) | Borderou de evaluare (job #1879379) | Borderou de evaluare (job #1515099) | Borderou de evaluare (job #1251569)
Borderou de evaluare (job #1251569)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dictree.in","r",stdin);
^
user.cpp:72:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dictree.out","w",stdout);
^
user.cpp:73:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:76:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:44:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:76: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/cctl3Nro.o: In function `main':
user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 64ms | 2840kb | Incorect | 0 | 0 |
| 2 | 40ms | 2744kb | OK | 10 |
| 3 | 0ms | 796kb | Incorect | 0 |
| 4 | 12ms | 1544kb | Incorect | 0 |
| 5 | 32ms | 2748kb | Incorect | 0 |
| 6 | 40ms | 2840kb | Incorect | 0 |
| 7 | 28ms | 2832kb | Incorect | 0 |
| 8 | 36ms | 2744kb | Incorect | 0 |
| 9 | 36ms | 2836kb | Incorect | 0 |
| 10 | 36ms | 2744kb | Incorect | 0 |
| Punctaj total | 0 |