Pagini recente » Borderou de evaluare (job #505567) | Cod sursa (job #894) | Borderou de evaluare (job #2632107) | Borderou de evaluare (job #3181396) | Borderou de evaluare (job #2605194)
Borderou de evaluare (job #2605194)
Raport evaluator
Compilare:
main.cpp: In function 'int read_int()':
main.cpp:48:35: warning: array subscript has type 'char' [-Wchar-subscripts]
while(!isDigit[c = read_char()] && c != '-');
^
main.cpp:56:20: warning: array subscript has type 'char' [-Wchar-subscripts]
while(isDigit[c])
^
main.cpp: In function 'std::__cxx11::string read_string()':
main.cpp:70:34: warning: array subscript has type 'char' [-Wchar-subscripts]
while(isDigit[c = read_char()])
^
main.cpp: In function 'bool operator<(const string&, const string&)':
main.cpp:94:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); i++)
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:145:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j < vd[i].size(); j++)
~~^~~~~~~~~~~~~~
main.cpp: In function 'char read_char()':
main.cpp:21:54: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, sizeof(char), BUFFER_SIZE, fin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 71ms | 9039kb | Incorect | 0 |
| 2 | 165ms | 20967kb | OK | 5 |
| 3 | 16ms | 6553kb | Incorect | 0 |
| 4 | 70ms | 9039kb | Incorect | 0 |
| 5 | 25ms | 8519kb | OK | 5 |
| 6 | 70ms | 9039kb | OK | 5 |
| 7 | 106ms | 18743kb | Incorect | 0 |
| 8 | 141ms | 22413kb | Incorect | 0 |
| 9 | 191ms | 20836kb | Incorect | 0 |
| 10 | 189ms | 20856kb | Incorect | 0 |
| 11 | 189ms | 21237kb | Incorect | 0 |
| 12 | 182ms | 21356kb | Incorect | 0 |
| 13 | 149ms | 17031kb | Incorect | 0 |
| 14 | 57ms | 8904kb | Incorect | 0 |
| 15 | 152ms | 16379kb | Incorect | 0 |
| 16 | 157ms | 16379kb | Incorect | 0 |
| 17 | 170ms | 18690kb | Incorect | 0 |
| 18 | 199ms | 21544kb | Incorect | 0 |
| 19 | 163ms | 20041kb | Incorect | 0 |
| 20 | 179ms | 20041kb | Incorect | 0 |
| Punctaj total | 15 |