Pagini recente » Borderou de evaluare (job #1291492) | Borderou de evaluare (job #2754812) | Borderou de evaluare (job #2380468) | Borderou de evaluare (job #2517439) | Borderou de evaluare (job #2267647)
Borderou de evaluare (job #2267647)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (note.size() < m)
~~~~~~~~~~~~^~~
main.cpp:21:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!note.empty() && n - i > m - note.size() && sir[i] > note.top())
~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:11:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%i %i\n", &n, &m);
^
main.cpp:13:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(sir, n + 1, f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 6ms | 393kb | Incorect | 0 |
7 | 5ms | 262kb | Incorect | 0 |
8 | 31ms | 2109kb | Incorect | 0 |
9 | 29ms | 3108kb | Incorect | 0 |
10 | 30ms | 2191kb | Incorect | 0 |
Punctaj total | 0 |