Pagini recente » Borderou de evaluare (job #994849) | Borderou de evaluare (job #2893492) | Cod sursa (job #2949176) | Borderou de evaluare (job #2383308) | Borderou de evaluare (job #1272023)
Borderou de evaluare (job #1272023)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int expRapida(long long int, long long 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: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 | 268kb | OK | 10 |
✓ | 3 | 4ms | 308kb | OK | 10 |
✓ | 4 | 44ms | 660kb | OK | 10 |
✓ | 5 | 0ms | 268kb | OK | 10 |
✓ | 6 | 4ms | 316kb | OK | 10 |
✓ | 7 | 40ms | 652kb | OK | 10 |
✓ | 8 | 8ms | 344kb | OK | 10 |
✓ | 9 | 48ms | 624kb | Incorect | 0 |
✓ | 10 | 48ms | 624kb | OK | 10 |
Punctaj total | 90 |