Pagini recente » Borderou de evaluare (job #2833766) | Borderou de evaluare (job #1014189) | Borderou de evaluare (job #2780111) | Borderou de evaluare (job #2638215) | Borderou de evaluare (job #1325330)
Borderou de evaluare (job #1325330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:53:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:56:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:58:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si[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:58:18:
/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/ccRkBtv4.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 | 308kb | OK | 5 |
2 | 0ms | 296kb | OK | 5 |
3 | 0ms | 400kb | OK | 5 |
4 | 0ms | 440kb | OK | 5 |
5 | 0ms | 796kb | OK | 5 |
6 | 0ms | 820kb | OK | 5 |
7 | 8ms | 8068kb | Incorect | 0 |
8 | 8ms | 8088kb | Incorect | 0 |
9 | 12ms | 15388kb | OK | 5 |
10 | 12ms | 11832kb | OK | 5 |
11 | 12ms | 11960kb | OK | 5 |
12 | 8ms | 8100kb | Incorect | 0 |
13 | 8ms | 8128kb | Incorect | 0 |
14 | 8ms | 8116kb | Incorect | 0 |
15 | 8ms | 8116kb | Incorect | 0 |
16 | 12ms | 12032kb | OK | 5 |
17 | 28ms | 16012kb | OK | 5 |
18 | 16ms | 8212kb | Incorect | 0 |
19 | 24ms | 12124kb | Incorect | 0 |
20 | 16ms | 8244kb | Incorect | 0 |
Punctaj total | 55 |