Pagini recente » Borderou de evaluare (job #1099977) | Borderou de evaluare (job #1770493) | Borderou de evaluare (job #2354244) | Borderou de evaluare (job #3292390) | Borderou de evaluare (job #2231008)
Borderou de evaluare (job #2231008)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(std::vector<long long int>&, int, int)’:
user.cpp:14:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos <= vec.size()) {
~~~~^~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:54: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:55: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:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:65:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
user.cpp:74:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:77:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:86:28: 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 | 880kb | OK | 10 |
2 | 0ms | 932kb | OK | 10 |
3 | 8ms | 872kb | OK | 10 |
4 | 40ms | 992kb | OK | 10 |
5 | 100ms | 992kb | OK | 10 |
6 | 168ms | 1252kb | OK | 10 |
7 | 168ms | 1256kb | OK | 10 |
8 | 252ms | 1520kb | OK | 10 |
9 | 248ms | 1520kb | OK | 10 |
10 | 252ms | 1520kb | OK | 10 |
Punctaj total | 100 |