Pagini recente » Borderou de evaluare (job #1466896) | Borderou de evaluare (job #3178346) | Borderou de evaluare (job #2445953) | Borderou de evaluare (job #2846268) | Borderou de evaluare (job #1758376)
Borderou de evaluare (job #1758376)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Prob::ReadData()’:
user.cpp:48:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
for(int j=1;j<=i;++j)fscanf(fin,"%d",&a[i][j]);
^
user.cpp: In member function ‘void Prob::Solve()’:
user.cpp:53:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout,"%d",a[1][1]);
^
user.cpp: In member function ‘void Prob::ReadData()’:
user.cpp:46:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d %d",&v,&N,&st,&dr);
^
user.cpp:48:59: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=i;++j)fscanf(fin,"%d",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 532kb | OK | 5 |
| 2 | 104ms | 7220kb | OK | 5 |
| 3 | 228ms | 10620kb | Incorect | 0 |
| 4 | 332ms | 13748kb | OK | 5 |
| 5 | 0ms | 496kb | Incorect | 0 |
| 6 | 0ms | 540kb | Incorect | 0 |
| 7 | 0ms | 668kb | Incorect | 0 |
| 8 | 0ms | 852kb | Incorect | 0 |
| 9 | 28ms | 3388kb | Incorect | 0 |
| 10 | 56ms | 5128kb | Incorect | 0 |
| 11 | 92ms | 7196kb | Incorect | 0 |
| 12 | 116ms | 8248kb | Incorect | 0 |
| 13 | 116ms | 8320kb | Incorect | 0 |
| 14 | 120ms | 8404kb | Incorect | 0 |
| 15 | 140ms | 9028kb | Incorect | 0 |
| 16 | 164ms | 9812kb | Incorect | 0 |
| 17 | 196ms | 10592kb | Incorect | 0 |
| 18 | 264ms | 12156kb | Incorect | 0 |
| 19 | 312ms | 12944kb | Incorect | 0 |
| 20 | 344ms | 13724kb | Incorect | 0 |
| Punctaj total | 15 |