Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2443250)
| Utilizator | Data | 27 iulie 2019 10:52:50 | |
|---|---|---|---|
| Problema | Produse2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&)':
main.cpp:12:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) {
~~~~~~~~~~~~^~~~~~
main.cpp:16:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) {
~~~~~~~~~~~~^~~~~~
main.cpp: At global scope:
main.cpp:6:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num) {
^~~~
main.cpp: In function 'void read(int&)':
main.cpp:13:20: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:19:20: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("produse2.in","r",stdin);
^
main.cpp:30:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("produse2.out","w",stdout);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2203ms | 1572kb | Time limit exceeded | 0 | 0 |
| 2 | 37ms | 1572kb | Killed by Signal 8 | 0 | |
| 3 | 169ms | 2883kb | Killed by Signal 8 | 0 | |
| 4 | 74ms | 1572kb | OK | 25 | |
| Punctaj total | 0 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
