Pagini recente » Cod sursa (job #764482) | Borderou de evaluare (job #1527533) | Cod sursa (job #957366) | Cod sursa (job #1330855) | Borderou de evaluare (job #2421105)
Borderou de evaluare (job #2421105)
Raport evaluator
Compilare:
main.cpp: In function 'void Delete(int)':
main.cpp:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i != v[h].size(); ++i)
~~^~~~~~~~~~~~~~
main.cpp: In function 'bool Find(int)':
main.cpp:71:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i != v[h].size(); ++i)
~~^~~~~~~~~~~~~~
main.cpp: In function 'int get_nr()':
main.cpp:90:21: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
~~~~~~~~~~^~~~
main.cpp:94:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(buffer[i] > 47 & buffer[i] < 58)
~~~~~~~~~~^~~~
main.cpp: At global scope:
main.cpp:86:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_nr()
^~~~~~
main.cpp: In function 'int get_nr()':
main.cpp:92:69: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0;
^
main.cpp:98:69: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0;
^
main.cpp: In function 'int main()':
main.cpp:106:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in", "r", stdin);
^
main.cpp:107:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 917kb | OK | 10 | 10 |
| 2 | 4ms | 917kb | OK | 10 | 10 |
| 3 | 4ms | 917kb | OK | 10 | 10 |
| 4 | 21ms | 1048kb | OK | 10 | 30 |
| 5 | 21ms | 1048kb | OK | 10 |
| 6 | 16ms | 1179kb | OK | 10 |
| 7 | 48ms | 1703kb | OK | 10 | 10 |
| 8 | 84ms | 3407kb | OK | 10 | 30 |
| 9 | 195ms | 6029kb | OK | 10 |
| 10 | 195ms | 5591kb | OK | 10 |
| Punctaj total | 100 |