Pagini recente » Borderou de evaluare (job #2610880) | Borderou de evaluare (job #2702624) | Borderou de evaluare (job #1438871) | Borderou de evaluare (job #1248976) | Borderou de evaluare (job #1510909)
Borderou de evaluare (job #1510909)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:77: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", 1LL * (w[right - 1] + (x - 1) * (nr - right + 1)));
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in","r",stdin);
^
user.cpp:14:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out","w",stdout);
^
user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:31:28: 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 | 0ms | 268kb | OK | 10 |
2 | 0ms | 296kb | Incorect | 0 |
3 | 8ms | 388kb | Incorect | 0 |
4 | 24ms | 524kb | OK | 10 |
5 | 36ms | 628kb | OK | 10 |
6 | 44ms | 732kb | Incorect | 0 |
7 | 64ms | 1000kb | OK | 10 |
8 | 88ms | 1152kb | Incorect | 0 |
9 | 120ms | 1312kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 40 |