Pagini recente » Borderou de evaluare (job #1195654) | Borderou de evaluare (job #2810226) | Borderou de evaluare (job #1467761) | Borderou de evaluare (job #2733505) | Borderou de evaluare (job #1729144)
Borderou de evaluare (job #1729144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&P,&N);
^
user.cpp:40:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:45:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:55:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&P1,&P2);
^
user.cpp:55:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:58:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp: In function ‘long long int Find(int)’:
user.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in","r",stdin);
^
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out","w",stdout);
^
user.cpp:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&P,&N);
^
user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&P1,&P2);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 80ms | 2500kb | OK | 5 |
| 2 | 68ms | 2100kb | OK | 5 |
| 3 | 44ms | 1556kb | OK | 5 |
| 4 | 44ms | 1568kb | OK | 5 |
| 5 | 64ms | 2060kb | OK | 5 |
| 6 | 0ms | 272kb | OK | 5 |
| 7 | 0ms | 272kb | OK | 5 |
| 8 | 180ms | 556kb | OK | 5 |
| 9 | 232ms | 616kb | OK | 5 |
| 10 | 52ms | 360kb | OK | 5 |
| 11 | 248ms | 632kb | OK | 5 |
| 12 | 172ms | 548kb | OK | 5 |
| 13 | 224ms | 596kb | OK | 5 |
| 14 | Depăşit | 1860kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 2484kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1672kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 2432kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2152kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1636kb | Time limit exceeded. | 0 |
| 20 | 24ms | 1044kb | OK | 5 |
| Punctaj total | 70 |