Pagini recente » Borderou de evaluare (job #636707) | Borderou de evaluare (job #1355927) | Borderou de evaluare (job #2525206) | Borderou de evaluare (job #636827) | Borderou de evaluare (job #2245332)
Borderou de evaluare (job #2245332)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d%d%d%d",&N,&M,&C,&R);
^
user.cpp:14:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:14:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:14:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:15: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:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp:16:49: 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]);
^
user.cpp:17:49: 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]);
^
user.cpp:41:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",Maxim);
^
user.cpp:14:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d",&N,&M,&C,&R);
^
user.cpp:15: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:16:50: 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]);
^
user.cpp:17:50: 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]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 932kb | OK | 10 |
2 | 0ms | 1136kb | Incorect | 0 |
3 | 16ms | 3008kb | Incorect | 0 |
4 | 120ms | 3400kb | Incorect | 0 |
5 | 28ms | 4180kb | Incorect | 0 |
6 | 124ms | 4184kb | Incorect | 0 |
7 | 168ms | 20192kb | Incorect | 0 |
8 | 220ms | 20196kb | Incorect | 0 |
9 | 304ms | 20196kb | Incorect | 0 |
10 | 8ms | 804kb | OK | 10 |
Punctaj total | 20 |