Pagini recente » Borderou de evaluare (job #462388) | Borderou de evaluare (job #987028) | Borderou de evaluare (job #2846743) | Borderou de evaluare (job #1911809) | Borderou de evaluare (job #1262944)
Borderou de evaluare (job #1262944)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (int i=1;i<=c;++i) scanf("%d%d\n",x+i,y+i),s[1][x[i]]=y[i],v[1][x[i]]=i;
^
user.cpp:18:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in","r",stdin);
^
user.cpp:17:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&sm,&n,&c);
^
user.cpp:18:80: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=c;++i) scanf("%d%d\n",x+i,y+i),s[1][x[i]]=y[i],v[1][x[i]]=i;
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 564kb | OK | 10 |
6 | 0ms | 640kb | OK | 10 |
7 | 4ms | 680kb | OK | 10 |
8 | 8ms | 764kb | OK | 10 |
9 | 16ms | 836kb | OK | 10 |
10 | 0ms | 456kb | OK | 10 |
Punctaj total | 100 |