Pagini recente » Borderou de evaluare (job #16225) | Borderou de evaluare (job #2881414) | Borderou de evaluare (job #3283577) | Borderou de evaluare (job #2097429) | Borderou de evaluare (job #1195043)
Borderou de evaluare (job #1195043)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:22:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",cnt);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 384ms | 528kb | Incorect | 0 |
2 | 512ms | 528kb | Incorect | 0 |
3 | 504ms | 528kb | Incorect | 0 |
4 | 520ms | 528kb | Incorect | 0 |
5 | 392ms | 528kb | Incorect | 0 |
Punctaj total | 0 |