Pagini recente » Borderou de evaluare (job #1534938) | Borderou de evaluare (job #1057898) | Cod sursa (job #577496) | Cod sursa (job #976249) | Borderou de evaluare (job #2475195)
Borderou de evaluare (job #2475195)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("minim.in", "r", stdin);
^
main.cpp:11:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("minim.out", "w", stdout);
^
main.cpp: In function 'void read()':
main.cpp:19:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:21:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &list[i]);
^
main.cpp: In function 'void solve()':
main.cpp:40:35: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(sum==sol && (j-st+1)<(right-left+1)){
~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 3ms | 131kb | OK | 10 |
| 8 | 3ms | 131kb | OK | 10 |
| 9 | 3ms | 131kb | OK | 10 |
| 10 | 11ms | 131kb | OK | 10 |
| Punctaj total | 100 |