Borderou de evaluare (job #1670531)
Raport evaluator
Compilare:
user.cpp: In function ‘void idem()’:
user.cpp:82:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < principal.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:121:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < principal.size(); i++) {
^
user.cpp:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < curr.size(); i++) {
^
user.cpp:149:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < principal.size(); i++) {
^
user.cpp:151:46: warning: narrowing conversion of ‘i’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
sorted[size++] = (pair){power[i], i};
^
user.cpp:117:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, Nadejde, f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | 912kb | Corect | 10 |
3 | 0ms | 916kb | Corect | 10 |
4 | 4ms | 924kb | Corect | 10 |
5 | 0ms | 916kb | Corect | 10 |
6 | 0ms | 928kb | Corect | 10 |
7 | 20ms | 980kb | Corect | 10 |
8 | 92ms | Depăşit | Memory limit exceeded. | 0 |
9 | 44ms | 1156kb | Corect | 10 |
10 | 84ms | 1208kb | Corect | 10 |
Punctaj total | 80 |