Pagini recente » Borderou de evaluare (job #1741317) | Borderou de evaluare (job #126881) | Borderou de evaluare (job #2118806) | Borderou de evaluare (job #2523247) | Borderou de evaluare (job #2644758)
Borderou de evaluare (job #2644758)
Raport evaluator
Compilare:
main.cpp: In function 'void rid(int&, int, int)':
main.cpp:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (p < (1<<(curr_it + 1)))
^~
main.cpp:11:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
int tempn = n;
^~~
main.cpp: In function 'int main()':
main.cpp:26:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in", "r", stdin);
^
main.cpp:27:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out", "w", stdout);
^
main.cpp:30:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 10 |