Borderou de evaluare (job #2492626)
Utilizator | Data | 15 noiembrie 2019 03:53:10 | |
---|---|---|---|
Problema | Unique | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Join(int, int)':
main.cpp:26:14: error: continue statement not within a loop
if (x == y) continue;
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:81:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (st[Find(ind)].size() == v)
~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:38:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("unique.in", "r", stdin);
^
main.cpp:39:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("unique.out", "w", stdout);
^
main.cpp:42:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:47:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:57:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !