Pagini recente » Borderou de evaluare (job #1632193) | Borderou de evaluare (job #680113) | Borderou de evaluare (job #2008732) | Borderou de evaluare (job #593247) | Borderou de evaluare (job #1239912)
Borderou de evaluare (job #1239912)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[c].push_back(p);
^
user.cpp:83:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < A[0].size(); i++)
^
user.cpp:88:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < A[1].size(); i++)
^
user.cpp:43:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:44:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:50:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x[i], &y[i]);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK! | 10 |
2 | 0ms | 472kb | OK! | 10 |
3 | 0ms | 480kb | OK! | 10 |
4 | 0ms | 484kb | OK! | 10 |
5 | 0ms | 496kb | OK! | 10 |
6 | 4ms | 584kb | OK! | 10 |
7 | 8ms | 752kb | OK! | 10 |
8 | 36ms | 1436kb | OK! | 10 |
9 | 56ms | 1840kb | OK! | 10 |
10 | 20ms | 928kb | OK! | 10 |
Punctaj total | 100 |