Pagini recente » Borderou de evaluare (job #1958736) | Borderou de evaluare (job #1108458)
Borderou de evaluare (job #1108458)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
fscanf(f, "%d", &n);
^
user.cpp:12:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
for (i=1; i<=n; i++) fscanf(f, "%d", &v[i]);
^
user.cpp:25:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nr>long(n/2)) fprintf(g, "%lu", best);
^
user.cpp:25:42: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
if (nr>long(n/2)) fprintf(g, "%lu", best);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | Incorect | 0 |
2 | 0ms | 396kb | Incorect | 0 |
3 | 4ms | 416kb | Incorect | 0 |
4 | 4ms | 516kb | Incorect | 0 |
5 | 16ms | 988kb | Incorect | 0 |
6 | 36ms | 1564kb | Incorect | 0 |
7 | 36ms | 1156kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 28ms | 1156kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 32ms | 1160kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 32ms | 1156kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |