Pagini recente » Borderou de evaluare (job #736983) | Borderou de evaluare (job #2595721) | Borderou de evaluare (job #1100143) | Borderou de evaluare (job #1966866) | Borderou de evaluare (job #2182781)
Borderou de evaluare (job #2182781)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:48:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:45:9: warning: unused variable ‘q’ [-Wunused-variable]
int q, m, i, p, a, b;
^
user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:46:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:48:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:53:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp:55:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:60:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1320kb | OK | 10 |
2 | 0ms | 1260kb | OK | 10 |
3 | 8ms | 1392kb | OK | 10 |
4 | 40ms | 1708kb | OK | 10 |
5 | 96ms | 1872kb | OK | 10 |
6 | 160ms | 2252kb | OK | 10 |
7 | 168ms | 2636kb | OK | 10 |
8 | 240ms | 2788kb | OK | 10 |
9 | 244ms | 2800kb | OK | 10 |
10 | 240ms | 2880kb | OK | 10 |
Punctaj total | 100 |