Pagini recente » Borderou de evaluare (job #1663880) | Borderou de evaluare (job #1593973) | Borderou de evaluare (job #1870766) | Borderou de evaluare (job #2454945) | Borderou de evaluare (job #1765557)
Borderou de evaluare (job #1765557)
Raport evaluator
Compilare:
user.cpp: In function ‘bool solveString()’:
user.cpp:49:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s[j] == complementOf[s[j + i - 1]]) {
^
user.cpp: In function ‘int main()’:
user.cpp:71:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evo.in", "r", stdin);
^
user.cpp:72:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evo.out", "w", stdout);
^
user.cpp:79:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:81:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(t[i] + 1);
^
user.cpp:84:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:86:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 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:81: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/ccNG16TB.o: In function `main':
user.cpp:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x100): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 376kb | OK | 5 | 5 |
2 | 0ms | 372kb | OK | 5 | 5 |
3 | 0ms | 372kb | OK | 5 | 5 |
4 | 8ms | 380kb | OK | 5 | 5 |
5 | 8ms | 372kb | OK | 5 | 5 |
6 | 24ms | 372kb | OK | 5 | 5 |
7 | 24ms | 380kb | OK | 5 | 5 |
8 | 44ms | 376kb | OK | 5 | 5 |
9 | 32ms | 368kb | OK | 5 | 5 |
10 | 24ms | 364kb | OK | 5 | 5 |
11 | 52ms | 380kb | OK | 5 | 5 |
12 | 140ms | 380kb | OK | 5 | 5 |
13 | 276ms | 372kb | OK | 5 | 20 |
14 | 220ms | 380kb | OK | 5 |
15 | 224ms | 368kb | OK | 5 |
16 | 220ms | 364kb | OK | 5 |
17 | 308ms | 364kb | OK | 5 | 5 |
18 | 240ms | 380kb | OK | 5 | 5 |
19 | 244ms | 380kb | OK | 5 | 5 |
20 | 240ms | 376kb | OK | 5 | 5 |
Punctaj total | 100 |