Pagini recente » Borderou de evaluare (job #3282718) | Borderou de evaluare (job #2322725) | Borderou de evaluare (job #651912) | Borderou de evaluare (job #1847201) | Borderou de evaluare (job #1889294)
Borderou de evaluare (job #1889294)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&d[i]);
^
user.cpp:25:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",dp[1][n]);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 0ms | 476kb | OK | 10 |
6 | 4ms | 672kb | OK | 10 |
7 | 24ms | 1068kb | OK | 10 |
8 | 84ms | 1464kb | OK | 10 |
9 | 200ms | 1860kb | Incorect | 0 |
10 | 396ms | 2244kb | Incorect | 0 |
Punctaj total | 80 |