Pagini recente » Borderou de evaluare (job #1155059) | Borderou de evaluare (job #2957729) | Borderou de evaluare (job #1826487) | Borderou de evaluare (job #400411) | Borderou de evaluare (job #1962604)
Borderou de evaluare (job #1962604)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d %d",&n,&m);
^
user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:40:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&a[i]);
^
user.cpp:45:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d%d",&nou.st,&x);
^
user.cpp:45:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:62:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d\n",ans[i]);
^
user.cpp:38:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&n,&m);
^
user.cpp:40:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i]);
^
user.cpp:45:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&nou.st,&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2664kb | OK | 5 |
| 2 | 4ms | 2656kb | OK | 5 |
| 3 | 4ms | 2664kb | OK | 5 |
| 4 | 4ms | 2672kb | OK | 5 |
| 5 | 32ms | 3524kb | OK | 5 |
| 6 | 32ms | 3516kb | OK | 5 |
| 7 | 48ms | 3976kb | OK | 5 |
| 8 | 56ms | 4204kb | OK | 5 |
| 9 | 56ms | 4200kb | OK | 5 |
| 10 | 84ms | 4956kb | OK | 5 |
| 11 | 100ms | 5488kb | OK | 5 |
| 12 | 120ms | 6096kb | OK | 5 |
| 13 | 120ms | 6252kb | OK | 5 |
| 14 | 124ms | 5824kb | OK | 5 |
| 15 | 404ms | 12060kb | Incorect | 0 |
| 16 | 400ms | 12360kb | Incorect | 0 |
| 17 | 388ms | 11740kb | OK | 5 |
| 18 | 408ms | 12060kb | Incorect | 0 |
| 19 | 404ms | 12840kb | Incorect | 0 |
| 20 | 408ms | 12840kb | Incorect | 0 |
| Punctaj total | 75 |