Pagini recente » Borderou de evaluare (job #1051686) | Borderou de evaluare (job #1732383) | Borderou de evaluare (job #2980338) | Borderou de evaluare (job #2754805) | Borderou de evaluare (job #2267591)
Borderou de evaluare (job #2267591)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (note.size() < m)
~~~~~~~~~~~~^~~
main.cpp:22:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (n - i - note.size() < m && sir[i] - '0' > note.top())
~~~~~~~~~~~~~~~~~~~~^~~
main.cpp:8:43: warning: unused variable 'g' [-Wunused-variable]
FILE *f = fopen("trompeta.in", "r"), *g = fopen("trompeta.out", "w");
^
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:14: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 | 3ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 14ms | 524kb | Incorect | 0 |
7 | 8ms | 393kb | Incorect | 0 |
8 | 53ms | 5324kb | Time limit exceeded | 0 |
9 | 54ms | 3031kb | Time limit exceeded | 0 |
10 | 51ms | 5148kb | Time limit exceeded | 0 |
Punctaj total | 0 |