Borderou de evaluare (job #1206700)
Utilizator | Data | 10 iulie 2014 23:09:50 | |
---|---|---|---|
Problema | Jocul | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:28: error: ‘fopen_s’ was not declared in this scope
fopen_s(&f,"jocul.in", "r");
^
user.cpp:13:22: error: ‘fscanf_s’ was not declared in this scope
fscanf_s(f, "%d", &n);
^
user.cpp:26:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (dp[j] != i + 1 && dp[j]!=0)
^
user.cpp:40:46: warning: operation on ‘nr2’ may be undefined [-Wsequence-point]
if (nr1 > nr2) nr1 = nr1 + nr2 - (nr2 = nr1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !