Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2166207)
Utilizator | Data | 13 martie 2018 16:04:08 | |
---|---|---|---|
Problema | Subsecvente2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 85 |
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51: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:51: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:51: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:44: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:45: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:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:51:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccqn647C.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 | 2376kb | OK | 5 |
2 | 4ms | 2312kb | OK | 5 |
3 | 4ms | 2296kb | OK | 5 |
4 | 4ms | 2224kb | OK | 5 |
5 | 4ms | 2284kb | OK | 5 |
6 | 4ms | 2348kb | OK | 5 |
7 | 16ms | 6208kb | OK | 5 |
8 | 20ms | 6532kb | OK | 5 |
9 | 20ms | 6840kb | OK | 5 |
10 | 24ms | 7300kb | OK | 5 |
11 | 24ms | 7644kb | OK | 5 |
12 | 24ms | 8152kb | OK | 5 |
13 | 64ms | 17472kb | OK | 5 |
14 | 48ms | 12928kb | OK | 5 |
15 | 52ms | 14160kb | OK | 5 |
16 | 64ms | 17144kb | OK | 5 |
17 | 288ms | Depăşit | Memory limit exceeded. | 0 |
18 | 260ms | 62180kb | OK | 5 |
19 | 280ms | Depăşit | Memory limit exceeded. | 0 |
20 | 276ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 85 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !