Borderou de evaluare (job #1477931)
Utilizator | Data | 27 august 2015 13:39:55 | |
---|---|---|---|
Problema | Fractii2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:14: error: ‘N’ was not declared in this scope
long long dp[N][N];
^
user.cpp:3:17: error: ‘N’ was not declared in this scope
long long dp[N][N];
^
user.cpp: In function ‘int main()’:
user.cpp:15:5: error: ‘dp’ was not declared in this scope
dp[2][1] = 1;
^
user.cpp:21:29: error: ‘mod’ was not declared in this scope
dp[i][j] += mod;
^
user.cpp:22:25: error: ‘mod’ was not declared in this scope
dp[i][j] %= mod;
^
user.cpp:6:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "fractii2.in", "r", stdin );
^
user.cpp:7:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "fractii2.out", "w", stdout );
^
user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &p, &n );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !