Pagini recente » Borderou de evaluare (job #2843035) | Borderou de evaluare (job #1209142) | Borderou de evaluare (job #691926) | Borderou de evaluare (job #1766899) | Borderou de evaluare (job #1909605)
Borderou de evaluare (job #1909605)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &t, &n, &m);
^
user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(p + 1);
^
user.cpp:46:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:46:23:
/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/ccBRhMKm.o: In function `read()':
user.cpp:(.text+0x162): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text+0xfb): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | OK | 5 |
2 | 0ms | 516kb | OK | 5 |
3 | 0ms | 536kb | OK | 5 |
4 | 0ms | 520kb | OK | 5 |
5 | 0ms | 496kb | OK | 5 |
6 | 0ms | 572kb | OK | 5 |
7 | 4ms | 580kb | Incorect | 0 |
8 | 0ms | 576kb | OK | 5 |
9 | 0ms | 508kb | OK | 5 |
10 | 8ms | 784kb | Incorect | 0 |
11 | 0ms | 716kb | OK | 5 |
12 | 8ms | 716kb | Incorect | 0 |
13 | 0ms | 604kb | OK | 5 |
14 | 4ms | 756kb | OK | 5 |
15 | 0ms | 560kb | OK | 5 |
16 | 48ms | 1296kb | Incorect | 0 |
17 | 52ms | 1320kb | Incorect | 0 |
18 | 52ms | 1324kb | Incorect | 0 |
19 | 56ms | 1336kb | Incorect | 0 |
20 | 76ms | 1336kb | Incorect | 0 |
Punctaj total | 60 |