Pagini recente » Borderou de evaluare (job #2613716) | Borderou de evaluare (job #1591395) | Borderou de evaluare (job #62180) | Borderou de evaluare (job #373436) | Borderou de evaluare (job #1262942)
Borderou de evaluare (job #1262942)
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 | 476kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 500kb | Incorect | 0 |
5 | 0ms | 620kb | OK | 10 |
6 | 0ms | 736kb | OK | 10 |
7 | 4ms | 796kb | OK | 10 |
8 | 4ms | 912kb | OK | 10 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 468kb | OK | 10 |
Punctaj total | 80 |