Pagini recente » Borderou de evaluare (job #2220054) | Borderou de evaluare (job #1825891) | Borderou de evaluare (job #2547215) | Borderou de evaluare (job #1315007) | Borderou de evaluare (job #1658824)
Borderou de evaluare (job #1658824)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:13:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for(int i = 1; i <= n; i++) scanf("%d",&c[i]);
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div3.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div3.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:13:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) scanf("%d",&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |