Pagini recente » Borderou de evaluare (job #952667) | Borderou de evaluare (job #969094) | Borderou de evaluare (job #1779852) | Borderou de evaluare (job #2606486) | Borderou de evaluare (job #2242213)
Borderou de evaluare (job #2242213)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sum);
^
user.cpp:4:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasic.in", "r", stdin);
^
user.cpp:5:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasic.out", "w", stdout);
^
user.cpp:7:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &sum);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2088ms | 864kb | OK | 100 |
Punctaj total | 100 |