Pagini recente » Borderou de evaluare (job #2286694) | Borderou de evaluare (job #2321757) | Borderou de evaluare (job #2126094) | Borderou de evaluare (job #2667534) | Borderou de evaluare (job #1660765)
Borderou de evaluare (job #1660765)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf ("%d\n", sum);
^
user.cpp:8:38: 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:9:40: 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:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:23:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1872ms | 260kb | OK | 100 |
Punctaj total | 100 |