Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1924472)
Utilizator | Data | 12 martie 2017 12:56:23 | |
---|---|---|---|
Problema | Hapsân | Status | done |
Runda | FMI No Stress 2017 | Compilator | cpp | Vezi sursa |
Scor | 100 |
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ptr < ev.size() && get<0>(ev[ptr]) == i && get<1>(ev[ptr]) == 0) {
^
user.cpp:64:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ptr < ev.size() && get<0>(ev[ptr]) == i && get<1>(ev[ptr]) == 1) {
^
user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.in", "r", stdin);
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.out", "w", stdout);
^
user.cpp:39:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:41:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &s[i]);
^
user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &m);
^
user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &a[i], &b[i]);
^
![]() | Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
---|---|---|---|---|---|
✓ | 1 | 4ms | 1952kb | OK | 10 |
✓ | 2 | 4ms | 2028kb | OK | 10 |
✓ | 3 | 8ms | 2148kb | OK | 10 |
✓ | 4 | 140ms | 4652kb | OK | 10 |
✓ | 5 | 432ms | 12732kb | OK | 10 |
✓ | 6 | 4ms | 2032kb | OK | 10 |
✓ | 7 | 8ms | 2116kb | OK | 10 |
✓ | 8 | 212ms | 6328kb | OK | 10 |
✓ | 9 | 532ms | 12668kb | OK | 10 |
✓ | 10 | 452ms | 12676kb | OK | 10 |
Punctaj total | 100 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !