Pagini recente » Borderou de evaluare (job #469685) | Borderou de evaluare (job #1453970) | Borderou de evaluare (job #2701485) | Borderou de evaluare (job #1471992) | Borderou de evaluare (job #2160581)
Borderou de evaluare (job #2160581)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1); n = strlen(s + 1);
^
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:17:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1); n = strlen(s + 1);
^
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:17:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1); n = strlen(s + 1);
^
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:14:38: 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:15:40: 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:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1); n = strlen(s + 1);
^
user.cpp:16:35: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, best = 100000000, rez, x;
^
/tmp/ccL0iFjl.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 | 0ms | 1236kb | OK! | 0 | 0 |
✓ | 2 | 0ms | 1172kb | OK! | 0 | 0 |
✓ | 3 | 0ms | 1144kb | OK! | 0 | 0 |
✓ | 4 | 0ms | 1228kb | OK! | 0 | 0 |
✗ | 5 | 0ms | 1200kb | OK! | 3 | 3 |
✗ | 6 | 0ms | 1172kb | OK! | 2 | 2 |
✗ | 7 | 0ms | 1232kb | OK! | 2 | 2 |
✗ | 8 | 0ms | 1204kb | OK! | 3 | 3 |
✗ | 9 | 0ms | 1288kb | OK! | 3 | 3 |
✗ | 10 | 0ms | 1220kb | OK! | 3 | 3 |
✗ | 11 | 0ms | 1240kb | OK! | 4 | 4 |
✗ | 12 | 0ms | 1176kb | OK! | 5 | 60 |
✗ | 13 | 20ms | 1328kb | OK! | 5 |
✗ | 14 | 0ms | 1140kb | OK! | 5 |
✗ | 15 | 16ms | 1236kb | OK! | 5 |
✗ | 16 | 16ms | 1296kb | OK! | 5 |
✗ | 17 | 20ms | 1272kb | OK! | 35 |
✗ | 18 | 20ms | 1324kb | OK! | 5 | 20 |
✗ | 19 | 16ms | 1308kb | OK! | 5 |
✗ | 20 | 16ms | 1320kb | OK! | 10 |
Punctaj total | 100 |