Borderou de evaluare (job #1568288)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve(int, int)’:
user.cpp:27:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, ptr = 0, best = 0;
^
user.cpp:27:21: warning: unused variable ‘best’ [-Wunused-variable]
int i, ptr = 0, best = 0;
^
user.cpp: In function ‘bool good(int)’:
user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in", "r", stdin);
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out", "w", stdout);
^
user.cpp:55:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &p, &u);
^
user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &x[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 408kb | Time limit exceeded. | 0 |
2 | Depăşit | 436kb | Time limit exceeded. | 0 |
3 | Depăşit | 504kb | Time limit exceeded. | 0 |
4 | Depăşit | 792kb | Time limit exceeded. | 0 |
5 | Depăşit | 1024kb | Time limit exceeded. | 0 |
6 | Depăşit | 1648kb | Time limit exceeded. | 0 |
7 | Depăşit | 3248kb | Time limit exceeded. | 0 |
8 | Depăşit | 4388kb | Time limit exceeded. | 0 |
9 | Depăşit | 9244kb | Time limit exceeded. | 0 |
10 | Depăşit | 11444kb | Time limit exceeded. | 0 |
Punctaj total | 0 |