Pagini recente » Borderou de evaluare (job #1541624) | Borderou de evaluare (job #2663644) | Borderou de evaluare (job #1121034) | Borderou de evaluare (job #537781) | Borderou de evaluare (job #2166240)
Borderou de evaluare (job #2166240)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:54:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:54:17: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:47:43: 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:48:45: 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:51:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:54:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/cc3slERv.o: In function `main':
user.cpp:(.text.startup+0xb1): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2356kb | OK | 5 |
2 | 4ms | 2320kb | OK | 5 |
3 | 4ms | 2384kb | OK | 5 |
4 | 4ms | 2200kb | OK | 5 |
5 | 4ms | 2256kb | OK | 5 |
6 | 4ms | 2228kb | OK | 5 |
7 | 12ms | 4376kb | OK | 5 |
8 | 12ms | 4512kb | OK | 5 |
9 | 8ms | 3576kb | OK | 5 |
10 | 8ms | 4060kb | OK | 5 |
11 | 12ms | 4188kb | OK | 5 |
12 | 16ms | 5280kb | OK | 5 |
13 | 36ms | 10176kb | OK | 5 |
14 | 24ms | 7728kb | OK | 5 |
15 | 28ms | 8524kb | OK | 5 |
16 | 24ms | 7412kb | OK | 5 |
17 | 104ms | 21448kb | OK | 5 |
18 | 144ms | 33296kb | OK | 5 |
19 | 128ms | 27728kb | OK | 5 |
20 | 176ms | 39884kb | OK | 5 |
Punctaj total | 100 |