Pagini recente » Borderou de evaluare (job #3165101) | Borderou de evaluare (job #585323) | Borderou de evaluare (job #1683976) | Borderou de evaluare (job #287698) | Borderou de evaluare (job #2182802)
Borderou de evaluare (job #2182802)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int modulo(int*, long long int)’:
user.cpp:13:19: warning: unused variable ‘r’ [-Wunused-variable]
long long int r;
^
user.cpp: In function ‘int main()’:
user.cpp:56:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:56:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:56:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:56:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:57:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&nr);
^
/tmp/cco3O4hL.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 5516kb | OK | 10 |
2 | 4ms | 5436kb | OK | 10 |
3 | 4ms | 5504kb | Incorect | 0 |
4 | 4ms | 5564kb | Incorect | 0 |
5 | 12ms | 5644kb | OK | 10 |
6 | 28ms | 5956kb | OK | 10 |
7 | 76ms | 6624kb | OK | 10 |
8 | 180ms | 9880kb | OK | 10 |
9 | 248ms | 10052kb | OK | 10 |
10 | 276ms | 10208kb | OK | 10 |
Punctaj total | 80 |