Pagini recente » Borderou de evaluare (job #2683398) | Borderou de evaluare (job #2548691) | Borderou de evaluare (job #261215) | Borderou de evaluare (job #13079) | Borderou de evaluare (job #1251570)
Borderou de evaluare (job #1251570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28: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:29: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:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:33: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:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:33: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/cc0t2bbz.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 | 2748kb | OK | 10 |
3 | 0ms | 800kb | Incorect | 0 |
4 | 12ms | 1544kb | Incorect | 0 |
5 | 32ms | 2744kb | Incorect | 0 |
6 | 40ms | 2836kb | Incorect | 0 |
7 | 28ms | 2840kb | Incorect | 0 |
8 | 36ms | 2744kb | Incorect | 0 |
9 | 36ms | 2832kb | Incorect | 0 |
10 | 36ms | 2748kb | Incorect | 0 |
Punctaj total | 0 |