Pagini recente » Borderou de evaluare (job #2228844) | Borderou de evaluare (job #1776895) | Borderou de evaluare (job #3038308) | Borderou de evaluare (job #2944707) | Borderou de evaluare (job #2183694)
Borderou de evaluare (job #2183694)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1001]’ [-Wformat=]
scanf("%s ",&v);
^
user.cpp:4:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("harddp.in","r",stdin);
^
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("harddp.out","w",stdout);
^
user.cpp:7:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&t);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d ",&n);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ",&v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 816kb | The master destroyed you! | 0 |
Punctaj total | 0 |