Pagini recente » Borderou de evaluare (job #181806) | Borderou de evaluare (job #2614413) | Borderou de evaluare (job #2435125) | Borderou de evaluare (job #2654010) | Borderou de evaluare (job #1396712)
Borderou de evaluare (job #1396712)
Raport evaluator
Compilare:
user.cpp:7:10: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(void)
^
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d\n",&n);
^
user.cpp:13:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i=1;i<=n;++i) scanf("%I64d",S+i);
^
user.cpp:18:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (S[i]<S[j])
^
user.cpp:31:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %I64d\n",Max,T);
^
user.cpp:31:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decrease.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decrease.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d\n",&n);
^
user.cpp:13:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;++i) scanf("%I64d",S+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 408kb | Time limit exceeded. | 0 |
2 | Depăşit | 408kb | Time limit exceeded. | 0 |
3 | Depăşit | 412kb | Time limit exceeded. | 0 |
4 | Depăşit | 404kb | Time limit exceeded. | 0 |
5 | Depăşit | 404kb | Time limit exceeded. | 0 |
6 | Depăşit | 420kb | Time limit exceeded. | 0 |
7 | Depăşit | 408kb | Time limit exceeded. | 0 |
8 | Depăşit | 440kb | Time limit exceeded. | 0 |
9 | Depăşit | 444kb | Time limit exceeded. | 0 |
10 | Depăşit | 444kb | Time limit exceeded. | 0 |
Punctaj total | 0 |