Pagini recente » Borderou de evaluare (job #417509) | Borderou de evaluare (job #1360074) | Borderou de evaluare (job #2553375) | Borderou de evaluare (job #2658113) | Borderou de evaluare (job #1313621)
Borderou de evaluare (job #1313621)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:28: warning: unused variable ‘pos’ [-Wunused-variable]
int left, right, last, pos, n, i, mid, ant, cnt, x, nPart;
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("politic.in", "r", stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("politic.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:35:31: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sp[nPart] = sp[nPart - 1] + cnt;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Raspuns corect | 10 |
2 | 0ms | 264kb | Raspuns corect | 10 |
3 | 0ms | 260kb | Raspuns corect | 10 |
4 | 4ms | 272kb | Raspuns corect | 10 |
5 | 88ms | 320kb | Raspuns corect | 10 |
6 | Depăşit | 344kb | Time limit exceeded. | 0 |
7 | Depăşit | 376kb | Time limit exceeded. | 0 |
8 | Depăşit | 344kb | Time limit exceeded. | 0 |
9 | Depăşit | 380kb | Time limit exceeded. | 0 |
10 | 4ms | 260kb | Raspuns corect | 10 |
Punctaj total | 60 |