Pagini recente » Borderou de evaluare (job #731708) | Borderou de evaluare (job #1659759) | Borderou de evaluare (job #763475) | Borderou de evaluare (job #582061) | Borderou de evaluare (job #1926478)
Borderou de evaluare (job #1926478)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sum);
^
user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.in", "r", stdin);
^
user.cpp:38:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.out", "w", stdout);
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:48:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &A[i], &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 268ms | 300kb | OK | 100 |
Punctaj total | 100 |