Pagini recente » Borderou de evaluare (job #88318) | Borderou de evaluare (job #2522333) | Borderou de evaluare (job #1779289) | Borderou de evaluare (job #2122783) | Borderou de evaluare (job #2166202)
Borderou de evaluare (job #2166202)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50: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:50: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:50: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:43: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:44: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:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:50:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/cczdji9i.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 | 2368kb | OK | 5 |
| 2 | 4ms | 2272kb | OK | 5 |
| 3 | 4ms | 2368kb | OK | 5 |
| 4 | 4ms | 2372kb | OK | 5 |
| 5 | 4ms | 2288kb | OK | 5 |
| 6 | 4ms | 2352kb | OK | 5 |
| 7 | 16ms | 6168kb | OK | 5 |
| 8 | 20ms | 6528kb | OK | 5 |
| 9 | 20ms | 6804kb | OK | 5 |
| 10 | 24ms | 7276kb | OK | 5 |
| 11 | 24ms | 7572kb | OK | 5 |
| 12 | 28ms | 8124kb | OK | 5 |
| 13 | 68ms | 17368kb | OK | 5 |
| 14 | 48ms | 13008kb | OK | 5 |
| 15 | 52ms | 14240kb | OK | 5 |
| 16 | 64ms | 17236kb | OK | 5 |
| 17 | 292ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 260ms | 62132kb | OK | 5 |
| 19 | 280ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 276ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 85 |