Pagini recente » Cod sursa (job #1755033) | Borderou de evaluare (job #2679075) | Borderou de evaluare (job #2475990) | Borderou de evaluare (job #1723056) | Borderou de evaluare (job #1729141)
Borderou de evaluare (job #1729141)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51: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:51:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:56:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:66: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:66:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:69: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:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:49: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:50: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:51: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:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:66: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:69: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 | 72ms | 2496kb | OK | 5 |
| 2 | 68ms | 2092kb | OK | 5 |
| 3 | 44ms | 1540kb | OK | 5 |
| 4 | 44ms | 1560kb | OK | 5 |
| 5 | 64ms | 2060kb | OK | 5 |
| 6 | 0ms | 264kb | OK | 5 |
| 7 | 0ms | 264kb | OK | 5 |
| 8 | 304ms | 544kb | OK | 5 |
| 9 | 400ms | 612kb | OK | 5 |
| 10 | 80ms | 352kb | OK | 5 |
| 11 | 440ms | 624kb | OK | 5 |
| 12 | 260ms | 544kb | OK | 5 |
| 13 | 332ms | 596kb | OK | 5 |
| 14 | Depăşit | 1856kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 2476kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1660kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 2428kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2144kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1628kb | Time limit exceeded. | 0 |
| 20 | 28ms | 1044kb | OK | 5 |
| Punctaj total | 70 |