Pagini recente » Borderou de evaluare (job #476204) | Borderou de evaluare (job #1282043) | Borderou de evaluare (job #2122461) | Borderou de evaluare (job #622574) | Borderou de evaluare (job #1310698)
Borderou de evaluare (job #1310698)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld",&n,&k,&d);
^
user.cpp:32:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:32:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:35:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&nr);
^
user.cpp:37:44: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
for (j=1;j<=nr;j++) {scanf("%ld",&t); s[i]^=1<<(t-1);}
^
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.in","r",stdin);
^
user.cpp:31:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.out","w",stdout);
^
user.cpp:32:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&n,&k,&d);
^
user.cpp:35:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&nr);
^
user.cpp:37:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (j=1;j<=nr;j++) {scanf("%ld",&t); s[i]^=1<<(t-1);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 36ms | 428kb | OK | 10 |
5 | 0ms | 432kb | OK | 10 |
6 | 8ms | 436kb | OK | 10 |
7 | 0ms | 436kb | OK | 10 |
8 | 28ms | 436kb | OK | 10 |
9 | 4ms | 436kb | OK | 10 |
10 | 0ms | 432kb | OK | 10 |
Punctaj total | 100 |