Pagini recente » Borderou de evaluare (job #1123572) | Borderou de evaluare (job #937005) | Borderou de evaluare (job #1248777) | Borderou de evaluare (job #3135585) | Borderou de evaluare (job #2204666)
Borderou de evaluare (job #2204666)
Raport evaluator
Compilare:
user.cpp: In function ‘void parantezare()’:
user.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<strlen(tmp); i++)
~^~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:62:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(tmp);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/c++/6/ext/string_conversions.h:43,
from /usr/include/c++/6/bits/basic_string.h:5417,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:62:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(tmp);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/c++/6/ext/string_conversions.h:43,
from /usr/include/c++/6/bits/basic_string.h:5417,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:60:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in", "r", stdin);
^
user.cpp:61:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out", "w", stdout);
^
user.cpp:62:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(tmp);
^
/tmp/ccitwvq0.o: In function `main':
user.cpp:(.text.startup+0x46): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1392kb | OK | 10 |
2 | 0ms | 1388kb | OK | 10 |
3 | 0ms | 1388kb | OK | 10 |
4 | 0ms | 1388kb | OK | 10 |
5 | 0ms | 1392kb | OK | 10 |
6 | 0ms | 1396kb | OK | 10 |
7 | 0ms | 1416kb | OK | 10 |
8 | 0ms | 1428kb | OK | 10 |
9 | 4ms | 1880kb | OK | 10 |
10 | 4ms | 2104kb | OK | 10 |
Punctaj total | 100 |