Pagini recente » Borderou de evaluare (job #1842383) | Borderou de evaluare (job #680211) | Borderou de evaluare (job #1659954) | Borderou de evaluare (job #100543) | Borderou de evaluare (job #2169339)
Borderou de evaluare (job #2169339)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
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:19:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
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:19:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
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:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.in","r",stdin);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.out","w",stdout);
^
user.cpp:19:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc2rZVS6.o: In function `main':
user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2848kb | OK! | 0 | 0 |
2 | 4ms | 2880kb | OK! | 0 | 0 |
3 | 4ms | 2904kb | OK! | 0 | 0 |
4 | 4ms | 2744kb | OK! | 0 | 0 |
5 | 4ms | 2908kb | OK! | 3 | 3 |
6 | 4ms | 2784kb | OK! | 2 | 2 |
7 | 4ms | 2884kb | OK! | 2 | 2 |
8 | 4ms | 2884kb | OK! | 3 | 3 |
9 | 4ms | 2848kb | OK! | 3 | 3 |
10 | 4ms | 2920kb | OK! | 3 | 3 |
11 | 4ms | 2812kb | OK! | 4 | 4 |
12 | 4ms | 2884kb | OK! | 5 | 60 |
13 | 68ms | 2832kb | OK! | 5 |
14 | 4ms | 2736kb | OK! | 5 |
15 | 72ms | 2972kb | OK! | 5 |
16 | 72ms | 3020kb | OK! | 5 |
17 | 72ms | 2936kb | OK! | 35 |
18 | 80ms | 2980kb | OK! | 5 | 20 |
19 | 68ms | 2876kb | OK! | 5 |
20 | 68ms | 2960kb | OK! | 10 |
Punctaj total | 100 |