Pagini recente » Borderou de evaluare (job #955825) | Borderou de evaluare (job #1817243) | Borderou de evaluare (job #2965083) | Borderou de evaluare (job #2999879) | Borderou de evaluare (job #1803145)
Borderou de evaluare (job #1803145)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort3.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort3.out","w",stdout);
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:22:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[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:22:21:
/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/ccDUlqYv.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 5 |
2 | 0ms | 288kb | OK | 5 |
3 | 0ms | 308kb | OK | 5 |
4 | 0ms | 312kb | OK | 5 |
5 | 0ms | 296kb | OK | 5 |
6 | 0ms | 312kb | OK | 5 |
7 | Depăşit | 504kb | Time limit exceeded. | 0 |
8 | 276ms | 2696kb | OK | 5 |
9 | Depăşit | 496kb | Time limit exceeded. | 0 |
10 | 240ms | 2132kb | OK | 5 |
11 | 240ms | 2676kb | OK | 5 |
12 | 304ms | 1348kb | OK | 5 |
13 | 320ms | 1988kb | OK | 5 |
14 | Depăşit | 2296kb | Time limit exceeded. | 0 |
15 | 308ms | 3160kb | OK | 5 |
16 | 188ms | 2164kb | OK | 5 |
17 | 412ms | 2340kb | OK | 5 |
18 | Depăşit | 468kb | Time limit exceeded. | 0 |
19 | 216ms | 2480kb | OK | 5 |
20 | Depăşit | 504kb | Time limit exceeded. | 0 |
Punctaj total | 75 |