Borderou de evaluare (job #1328308)
Utilizator | Data | 28 ianuarie 2015 11:07:04 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:5: error: stray ‘#’ in program
tv #include <cstdio>
^
user.cpp:1:1: error: ‘tv’ does not name a type
tv #include <cstdio>
^
user.cpp: In function ‘void ciur(int)’:
user.cpp:22:25: error: ‘printf’ was not declared in this scope
printf ("%lld", nr-2);
^
user.cpp: In function ‘int main()’:
user.cpp:26:29: error: ‘stdin’ was not declared in this scope
freopen ("fractii.in", "r", stdin);
^
user.cpp:26:34: error: ‘freopen’ was not declared in this scope
freopen ("fractii.in", "r", stdin);
^
user.cpp:27:30: error: ‘stdout’ was not declared in this scope
freopen ("fractii.out", "w", stdout);
^
user.cpp:29:16: error: ‘scanf’ was not declared in this scope
scanf ("%d", &n);
^
user.cpp:31:20: error: ‘printf’ was not declared in this scope
printf ("%d", 1);}
^
user.cpp:33:24: error: ‘printf’ was not declared in this scope
printf ("%d", 3);}
^
user.cpp:28:7: warning: unused variable ‘i’ [-Wunused-variable]
int n,i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !