Pagini recente » Borderou de evaluare (job #1188438) | Borderou de evaluare (job #1271474) | Borderou de evaluare (job #504092) | Borderou de evaluare (job #444999) | Borderou de evaluare (job #2159412)
Borderou de evaluare (job #2159412)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:21:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s); n = strlen(s);
^
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:21:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s); n = strlen(s);
^
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:21:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s); n = strlen(s);
^
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: In function ‘int Task2()’:
user.cpp:48:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(u.x == lis.size())
^
user.cpp: In function ‘void Read()’:
user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:21:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); n = strlen(s);
^
/tmp/ccypNDA2.o: In function `Read()':
user.cpp:(.text+0x5d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 4072kb | Te stii ! | 5 |
| 2 | 4ms | 3968kb | Te stii ! | 5 |
| 3 | 4ms | 4172kb | Te stii ! | 5 |
| 4 | 4ms | 3952kb | Valoare incorecta cerinta 1 ! | 4 |
| 5 | 4ms | 4088kb | Te stii ! | 5 |
| 6 | 8ms | 4268kb | Te stii ! | 5 |
| 7 | 8ms | 4264kb | Te stii ! | 5 |
| 8 | 4ms | 4176kb | Te stii ! | 5 |
| 9 | 4ms | 4116kb | Te stii ! | 5 |
| 10 | 4ms | 4020kb | Te stii ! | 5 |
| 11 | 8ms | 4184kb | Te stii ! | 5 |
| 12 | 8ms | 4104kb | Te stii ! | 5 |
| 13 | 8ms | 4280kb | Te stii ! | 5 |
| 14 | 8ms | 4268kb | Te stii ! | 5 |
| 15 | 24ms | 5064kb | Te stii ! | 5 |
| 16 | 48ms | 6328kb | Te stii ! | 5 |
| 17 | 136ms | 11500kb | Te stii ! | 5 |
| 18 | 264ms | 16788kb | Te stii ! | 5 |
| 19 | 400ms | 24488kb | Te stii ! | 5 |
| 20 | 540ms | 29612kb | Te stii ! | 5 |
| Punctaj total | 99 |