Pagini recente » Borderou de evaluare (job #2282218) | Borderou de evaluare (job #813101) | Borderou de evaluare (job #3212942) | Borderou de evaluare (job #2380703) | Borderou de evaluare (job #1897867)
Borderou de evaluare (job #1897867)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:15:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:16:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (short j = 0; j < m; j++) {scanf("%d",&a[j]);}
^
user.cpp:20:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (short j = 0; j < m; j++) {scanf("%d",&a[j]);}
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in","r",stdin);
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out","w",stdout);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:16:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (short j = 0; j < m; j++) {scanf("%d",&a[j]);}
^
user.cpp:20:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (short j = 0; j < m; j++) {scanf("%d",&a[j]);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | Incorect | 0 | 0 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 444kb | Incorect | 0 | 0 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 444kb | Incorect | 0 | 0 |
8 | 0ms | 440kb | Incorect | 0 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 0ms | 444kb | Incorect | 0 |
Punctaj total | 0 |