Pagini recente » Borderou de evaluare (job #1773084) | Borderou de evaluare (job #2271529) | Borderou de evaluare (job #1492436) | Borderou de evaluare (job #2096610) | Borderou de evaluare (job #2348900)
Borderou de evaluare (job #2348900)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:31:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=2;i<=n;i++)
^~~
main.cpp: At global scope:
main.cpp:14:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void S(int b)
^
main.cpp:6:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int A()
^
main.cpp: In function 'int main()':
main.cpp:28:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin),freopen("rmq.out","w",stdout),fgets(p,30,stdin),n=A(),m=A();
^
main.cpp:28:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:28:92: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:30:42: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(p,30,stdin),o=0,b[0][i]=A();
^
main.cpp:37:84: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(p,30,stdin),o=0,i=A(),j=A(),n=c[j-i+1],S(N(b[n][i],b[n][j+1-(1<<n)]));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 2ms | 131kb | OK | 10 | 10 |
| 3 | 3ms | 393kb | OK | 10 | 10 |
| 4 | 37ms | 3801kb | OK | 10 | 10 |
| 5 | 42ms | 3932kb | OK | 10 | 20 |
| 6 | 185ms | 8519kb | OK | 10 |
| 7 | 201ms | 9830kb | OK | 10 | 10 |
| 8 | 242ms | 11927kb | OK | 10 | 10 |
| 9 | 306ms | 12451kb | OK | 10 | 10 |
| 10 | 325ms | 13238kb | OK | 10 | 10 |
| Punctaj total | 100 |