Pagini recente » Borderou de evaluare (job #483621) | Borderou de evaluare (job #1047308) | Borderou de evaluare (job #1641736) | Borderou de evaluare (job #2602679) | Borderou de evaluare (job #1272053)
Borderou de evaluare (job #1272053)
Raport evaluator
Compilare:
user.cpp: In function ‘long long unsigned int expRapida(long long unsigned int, long long unsigned int)’:
user.cpp:9:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (exp > 0 && ans < n) {
^
user.cpp: In function ‘int main()’:
user.cpp:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (v[i] != currentPiece) {
^
user.cpp:40:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (space < n - 1) space = space * expRapida(4, currentPiece - v[i]);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in", "r", stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out", "w", stdout);
^
user.cpp:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:30: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 | 0ms | 272kb | OK | 10 |
| ✓ | 2 | 0ms | 272kb | OK | 10 |
| ✓ | 3 | 4ms | 312kb | OK | 10 |
| ✓ | 4 | 44ms | 656kb | OK | 10 |
| ✓ | 5 | 0ms | 268kb | OK | 10 |
| ✓ | 6 | 4ms | 316kb | OK | 10 |
| ✓ | 7 | 40ms | 656kb | OK | 10 |
| ✓ | 8 | 8ms | 344kb | OK | 10 |
| ✓ | 9 | 48ms | 624kb | OK | 10 |
| ✓ | 10 | 52ms | 624kb | OK | 10 |
| Punctaj total | 100 |