Pagini recente » Borderou de evaluare (job #6342) | Borderou de evaluare (job #3125741) | Borderou de evaluare (job #2237967) | Borderou de evaluare (job #3229180) | Borderou de evaluare (job #2167710)
Borderou de evaluare (job #2167710)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Check(int)’:
user.cpp:35:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^
user.cpp: In function ‘int main()’:
user.cpp:77:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:77:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:77:18: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s[i]);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:75:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:77:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
/tmp/ccYLkgQo.o: In function `main':
user.cpp:(.text.startup+0x4b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2968kb | OK | 5 |
2 | 4ms | 3016kb | OK | 5 |
3 | 4ms | 3116kb | OK | 5 |
4 | 4ms | 3124kb | OK | 5 |
5 | 4ms | 3056kb | OK | 5 |
6 | 4ms | 3132kb | OK | 5 |
7 | 8ms | 3172kb | OK | 5 |
8 | 8ms | 3176kb | OK | 5 |
9 | 12ms | 3216kb | OK | 5 |
10 | 12ms | 3108kb | OK | 5 |
11 | 12ms | 3012kb | OK | 5 |
12 | 12ms | 3132kb | OK | 5 |
13 | 24ms | 3100kb | OK | 5 |
14 | 16ms | 3184kb | OK | 5 |
15 | 20ms | 3228kb | OK | 5 |
16 | 28ms | 3332kb | OK | 5 |
17 | 172ms | 4068kb | OK | 5 |
18 | 116ms | 3724kb | Incorect | 0 |
19 | 172ms | 4060kb | OK | 5 |
20 | 128ms | 3760kb | OK | 5 |
Punctaj total | 95 |