| Problem | weddingcoins |
|---|---|
| User | AndyChen |
| Submission Time | 2026-04-24 15:20:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:5:12: error: ‘sync_with_sync’ is not a member of ‘std::ios_base’
5 | ios_base::sync_with_sync(false);
| ^~~~~~~~~~~~~~
weddingcoins.cpp:10:19: error: expected identifier before numeric constant
10 | vector<int> a = [1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000, 100000, 500000, 1000000];
| ^
weddingcoins.cpp:10:20: error: expected ‘]’ before ‘,’ token
10 | vector<int> a = [1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000, 100000, 500000, 1000000];
| ^
| ]
weddingcoins.cpp: In lambda function:
weddingcoins.cpp:10:20: error: expected ‘{’ before ‘,’ token
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:10:20: error: conversion from ‘main()::<lambda()>’ to non-scalar type ‘std::vector<long long int>’ requested
weddingcoins.cpp:10:22: error: exp