Pagini recente » Borderou de evaluare (job #506663) | Borderou de evaluare (job #2903926) | Borderou de evaluare (job #79501) | Borderou de evaluare (job #2260502) | Borderou de evaluare (job #1779583)
Borderou de evaluare (job #1779583)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = 0;
^
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("seti.in", "r", stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("seti.out", "w", stdout);
^
user.cpp:36:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:40:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (p[0]);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &m);
^
user.cpp:49:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (p[i] + 1);
^
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:49:24:
/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/ccSLIKXn.o: In function `main':
user.cpp:(.text.startup+0xd8): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 8160kb | OK | 10 |
2 | 44ms | 8248kb | OK | 10 |
3 | 72ms | 8844kb | OK | 10 |
4 | 72ms | 12400kb | OK | 10 |
5 | 124ms | 8888kb | Incorect | 0 |
6 | 216ms | 8920kb | Incorect | 0 |
7 | 328ms | 8952kb | Incorect | 0 |
8 | 376ms | 12772kb | Incorect | 0 |
9 | 368ms | 12832kb | Incorect | 0 |
10 | Depăşit | 12684kb | Time limit exceeded. | 0 |
Punctaj total | 40 |