Pagini recente » Borderou de evaluare (job #2885016) | Borderou de evaluare (job #1865152) | Monitorul de evaluare | Borderou de evaluare (job #3207374) | Borderou de evaluare (job #2497052)
Borderou de evaluare (job #2497052)
Raport evaluator
Compilare:
main.cpp: In function 'void update(unsigned int, int)':
main.cpp:62:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; idx <= n; idx += (idx & (~idx + 1)))
~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:113:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
sprintf(buffer, "Int length: %d", sizeof(void*));
^
main.cpp:108:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
main.cpp:110:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
main.cpp:120:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:124:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 7ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 2 | 7ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 3 | 6ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 4 | 6ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 5 | 6ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 6 | 6ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 7 | 6ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 8 | 6ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 9 | 7ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 7ms | 131kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |