Pagini recente » Cod sursa (job #2656946) | Diferente pentru problema/restrict intre reviziile 10 si 9 | Cod sursa (job #2256279) | Cod sursa (job #2850490) | Borderou de evaluare (job #2609193)
Borderou de evaluare (job #2609193)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:20:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
for(int i=2;i<n;i++){
^~~
main.cpp:51:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:53:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
printf("%d", sol);
^~~~~~
main.cpp:8:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("minesweeper2.in","r",stdin);
^
main.cpp:9:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("minesweeper2.out","w",stdout);
^
main.cpp:11:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &op);
^
main.cpp:21:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
main.cpp:43:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 86ms | 4980kb | OK | 10 | 30 |
| 2 | 83ms | 4980kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 | 20 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | Incorect | 0 | 0 |
| 7 | 5ms | 262kb | Incorect | 0 | 0 |
| 8 | 33ms | 1703kb | Incorect | 0 | 0 |
| 9 | 64ms | 3276kb | Incorect | 0 | 0 |
| 10 | 94ms | 4980kb | Incorect | 0 | 0 |
| Punctaj total | 50 |