Borderou de evaluare (job #1670503)
Raport evaluator
Compilare:
user.cpp: In function ‘void idem()’:
user.cpp:95: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:118: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 | 4ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | 1248kb | Corect | 10 |
3 | 0ms | 1248kb | Corect | 10 |
4 | 8ms | 1252kb | Corect | 10 |
5 | 0ms | 1248kb | Corect | 10 |
6 | 0ms | 1252kb | Corect | 10 |
7 | 24ms | 1308kb | Corect | 10 |
8 | 12ms | Depăşit | Memory limit exceeded. | 0 |
9 | 48ms | 1484kb | Corect | 10 |
10 | 88ms | 1536kb | Corect | 10 |
Punctaj total | 80 |