Borderou de evaluare (job #2177463)
Utilizator | Data | 18 martie 2018 17:01:00 | |
---|---|---|---|
Problema | Senzori | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void compDp()’:
user.cpp:26:52: error: ‘r2’ was not declared in this scope
if (pref[l1] || suf[r1] || pref[r1] || suf[r2])
^
user.cpp: In function ‘int main()’:
user.cpp:48:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:51:64: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &s[i].t1, &s[i].t2, &s[i].d, &s[i].v);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !