Pagini recente » Borderou de evaluare (job #2463446) | Borderou de evaluare (job #2939668) | Borderou de evaluare (job #3144662) | Borderou de evaluare (job #438138) | Borderou de evaluare (job #2245797)
Borderou de evaluare (job #2245797)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d%d%lld%d",&N,&M,&C,&R);
^
user.cpp:31:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:31:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:32:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d%d%d%d%d",&X,&Y,&Z,&W,&U);
^
user.cpp:32:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:32:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:32:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:32:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp:33:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(i=1; i<=M; ++i) {fscanf(fin,"%d",&A[1][i]); Maxim=max(Maxim,A[1][i]);}
^
user.cpp:34:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(i=2; i<=N; ++i) {fscanf(fin,"%d",&A[i][1]); Maxim=max(Maxim,A[i][1]);}
^
user.cpp:46:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",Answer);
^
user.cpp:31:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%lld%d",&N,&M,&C,&R);
^
user.cpp:32:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d%d",&X,&Y,&Z,&W,&U);
^
user.cpp:33:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=M; ++i) {fscanf(fin,"%d",&A[1][i]); Maxim=max(Maxim,A[1][i]);}
^
user.cpp:34:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=2; i<=N; ++i) {fscanf(fin,"%d",&A[i][1]); Maxim=max(Maxim,A[i][1]);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1364kb | OK | 10 |
2 | 0ms | 1396kb | OK | 10 |
3 | 48ms | 1416kb | Incorect | 0 |
4 | 80ms | 1424kb | Incorect | 0 |
5 | 92ms | 1432kb | Incorect | 0 |
6 | 108ms | 1432kb | Incorect | 0 |
7 | Depăşit | 3488kb | Time limit exceeded. | 0 |
8 | Depăşit | 3492kb | Time limit exceeded. | 0 |
9 | Depăşit | 3488kb | Time limit exceeded. | 0 |
10 | 0ms | 1336kb | OK | 10 |
Punctaj total | 30 |