Borderou de evaluare (job #752389)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Culori (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 dec. 2023 23:07:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:35:35: warning: character constant too long for its type
35 | cppsh.app(document.getElementById('compiler'),{"ajax":true},{});
| ^~~~~~~~~~
main.cpp:42:8: warning: multi-character character constant [-Wmultichar]
42 | gtag('js', new Date());
| ^~~~
main.cpp:43:8: warning: character constant too long for its type
43 | gtag('config', 'G-RLQFT1V1QW');
| ^~~~~~~~
main.cpp:43:18: warning: character constant too long for its type
43 | gtag('config', 'G-RLQFT1V1QW');
| ^~~~~~~~~~~~~~
main.cpp:2:1: error: expected unqualified-id before '<' token
2 | <html>
| ^
main.cpp:29:48: error: 'cpp' does not name a type
29 | <a href="/about.html">C++ Shell 2.0</a> © cpp.sh 2014-2023 | <a href="https://buymeacoffee.com/cppshell">buy me a coffe</a>
| ^~~
main.cpp:35:1: error: 'cppsh' does not name a type
35 | cppsh.app(document.getElementById('compiler'),{"ajax":true},{});
| ^~~~~
main.cpp:35:60: error: expected unqualified-id before ',' token
35 | cppsh.app(document.getElementById('compiler'),{"ajax":true},{});
| ^
main.cpp:35:61: error: expected unqualified-id before '{' token
35 | cppsh.app(document.getElementById('compiler'),{"ajax":true},{});
| ^
main.cpp:35:63: error: expected unqualified-id before ')' token
35 | cppsh.app(document.getElementById('compiler'),{"ajax":true},{});
| ^
main.cpp:36:1: error: expected unqualified-id before '<' token
36 | </script>
| ^
main.cpp:41:3: error: 'function' does not name a type; did you mean 'union'?
41 | function gtag(){dataLayer.push(arguments);}
| ^~~~~~~~
| union
main.cpp:42:7: error: expected constructor, destructor, or type conversion before '(' token
42 | gtag('js', new Date());
| ^
main.cpp:43:7: error: expected constructor, destructor, or type conversion before '(' token
43 | gtag('config', 'G-RLQFT1V1QW');
| ^
main.cpp:44:1: error: expected unqualified-id before '<' token
44 | </script>
| ^