Pagini recente » Borderou de evaluare (job #543569) | Borderou de evaluare (job #1191793) | Borderou de evaluare (job #978179) | Borderou de evaluare (job #2687443) | Borderou de evaluare (job #1309067)
Borderou de evaluare (job #1309067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43: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:43:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:43:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:46:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&nr);
^
user.cpp:47: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][t]=1;}
^
user.cpp:41: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:42: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:43: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:46:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&nr);
^
user.cpp:47: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][t]=1;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | Depăşit | 404kb | Time limit exceeded. | 0 |
5 | 0ms | 428kb | OK | 10 |
6 | 24ms | 424kb | OK | 10 |
7 | 4ms | 428kb | OK | 10 |
8 | Depăşit | 416kb | Time limit exceeded. | 0 |
9 | Depăşit | 420kb | Time limit exceeded. | 0 |
10 | 0ms | 432kb | OK | 10 |
Punctaj total | 70 |