Pagini recente » Borderou de evaluare (job #915662) | Borderou de evaluare (job #210238) | Borderou de evaluare (job #490449) | Borderou de evaluare (job #1759484) | Borderou de evaluare (job #1927367)
Borderou de evaluare (job #1927367)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(digits % 6 > 4) BYTE4[i].sum5 += carry; carry = BYTE4[i].sum5 / 10; BYTE4[i].sum5 %= 10;
^~
main.cpp:41:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(digits % 6 > 4) BYTE4[i].sum5 += carry; carry = BYTE4[i].sum5 / 10; BYTE4[i].sum5 %= 10;
^~~~~
main.cpp:42:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(digits % 6 > 3) BYTE4[i].sum4 += carry; carry = BYTE4[i].sum4 / 10; BYTE4[i].sum4 %= 10;
^~
main.cpp:42:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(digits % 6 > 3) BYTE4[i].sum4 += carry; carry = BYTE4[i].sum4 / 10; BYTE4[i].sum4 %= 10;
^~~~~
main.cpp:43:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(digits % 6 > 2) BYTE4[i].sum3 += carry; carry = BYTE4[i].sum3 / 10; BYTE4[i].sum3 %= 10;
^~
main.cpp:43:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(digits % 6 > 2) BYTE4[i].sum3 += carry; carry = BYTE4[i].sum3 / 10; BYTE4[i].sum3 %= 10;
^~~~~
main.cpp:44:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(digits % 6 > 1) BYTE4[i].sum2 += carry; carry = BYTE4[i].sum2 / 10; BYTE4[i].sum2 %= 10;
^~
main.cpp:44:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(digits % 6 > 1) BYTE4[i].sum2 += carry; carry = BYTE4[i].sum2 / 10; BYTE4[i].sum2 %= 10;
^~~~~
main.cpp:45:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(digits % 6 > 0) BYTE4[i].sum1 += carry; carry = BYTE4[i].sum1 / 10; BYTE4[i].sum1 %= 10;
^~
main.cpp:45:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(digits % 6 > 0) BYTE4[i].sum1 += carry; carry = BYTE4[i].sum1 / 10; BYTE4[i].sum1 %= 10;
^~~~~
main.cpp:17:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("staropramen.in", "r", stdin);
^
main.cpp:18:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("staropramen.out", "w", stdout);
^
main.cpp:22:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", ×);
^
main.cpp:25:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &digits); getchar(); carry = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 329ms | 1835kb | OK | 25 | 100 |
2 | 1469ms | 5378kb | OK | 25 |
3 | 1391ms | 5378kb | OK | 25 |
4 | 1251ms | 4980kb | OK | 25 |
Punctaj total | 100 |