Borderou de evaluare (job #2457644)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 18 septembrie 2019 12:46:05
Problema Tric Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void read(int&)': main.cpp:13:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) { ~~~~~~~~~~~~^~~~~~ main.cpp:17:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) { ~~~~~~~~~~~~^~~~~~ main.cpp: At global scope: main.cpp:27:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void write(unsigned int x) { ^~~~~ main.cpp:7: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:14: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:20: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:54:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("tric.in", "r", stdin); ^ main.cpp:55:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("tric.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms2490kbOK55
211ms2752kbOK55
37ms2490kbOK55
47ms2490kbOK55
57ms2490kbOK55
67ms2621kbOK55
77ms2621kbOK55
87ms2621kbOK55
97ms2621kbOK55
108ms2621kbOK55
119ms2621kbOK55
129ms2752kbIncorect00
1343ms4980kbOK50
1421ms3407kbOK5
1546ms4456kbOK5
1677ms5505kbOK5
17252ms6676kbTime limit exceeded0
1888ms6139kbOK5
19105ms6160kbOK5
206ms2490kbOK55
Punctaj total60

Ceva nu functioneaza?