Pagini recente » Borderou de evaluare (job #2295837) | Borderou de evaluare (job #19236) | Borderou de evaluare (job #1621580) | Borderou de evaluare (job #736550) | Borderou de evaluare (job #1108459)
Borderou de evaluare (job #1108459)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:21: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
fscanf(f, "%lu", &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 | 404kb | Incorect | 0 |
2 | 0ms | 404kb | Incorect | 0 |
3 | 4ms | 420kb | Incorect | 0 |
4 | 4ms | 524kb | Incorect | 0 |
5 | 20ms | 996kb | Incorect | 0 |
6 | 32ms | 1572kb | Incorect | 0 |
7 | 32ms | 1156kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 28ms | 1164kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 32ms | 1164kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 1156kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |