Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1908516)
| Utilizator | Data | 7 martie 2017 09:08:04 | |
|---|---|---|---|
| Problema | Reactor | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (time - last < n * n && actQ < querries.size())
^
user.cpp:54:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < parts.size(); i++)
^
user.cpp:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (actQ < querries.size() && querries[actQ].time == time)
^
user.cpp:80:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; actQ < querries.size(); actQ++)
^
user.cpp:82:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < parts.size(); i++)
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactor.in", "r", stdin);
^
user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p->speed);
^
user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrQ);
^
user.cpp:43:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &q.sect, &q.time);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 12ms | 656kb | OK | 10 |
| 2 | 24ms | 912kb | OK | 10 |
| 3 | 36ms | 1012kb | OK | 10 |
| 4 | 92ms | 1996kb | OK | 10 |
| 5 | 84ms | 1472kb | OK | 10 |
| 6 | 120ms | 2000kb | OK | 10 |
| 7 | 120ms | 1996kb | OK | 10 |
| 8 | 128ms | 1996kb | OK | 10 |
| 9 | 140ms | 2120kb | OK | 10 |
| 10 | 0ms | 484kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
