Pagini recente » Borderou de evaluare (job #406908) | Borderou de evaluare (job #2853249) | Borderou de evaluare (job #2691600) | Borderou de evaluare (job #1637049) | Borderou de evaluare (job #1588965)
Borderou de evaluare (job #1588965)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=]
int ij = sscanf((char*)&contents[0], "%uld%uld", &n, &m);
^
user.cpp:24:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:30:67: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=]
int i = sscanf((char*)&ss[0], "%uld%uld%uld%uld", &x, &y, &s, &g);
^
user.cpp:30:67: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:30:67: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 5 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:30:67: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 6 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:31:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = x; j <= y; j += s)
^
user.cpp:30:7: warning: unused variable ‘i’ [-Wunused-variable]
int i = sscanf((char*)&ss[0], "%uld%uld%uld%uld", &x, &y, &s, &g);
^
user.cpp:46:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= n; i++)
^
user.cpp:49:39: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
sprintf((char*)&ss[0], "%uld ", v[i]);
^
user.cpp:24:6: warning: unused variable ‘ij’ [-Wunused-variable]
int ij = sscanf((char*)&contents[0], "%uld%uld", &n, &m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | Incorect | 0 |
2 | 0ms | 484kb | Incorect | 0 |
3 | 0ms | 492kb | Incorect | 0 |
4 | 0ms | 488kb | Incorect | 0 |
5 | 0ms | 516kb | Incorect | 0 |
6 | 4ms | 564kb | Incorect | 0 |
7 | 64ms | 1780kb | Incorect | 0 |
8 | 64ms | 1780kb | Incorect | 0 |
9 | 64ms | 1768kb | Incorect | 0 |
10 | 64ms | 1752kb | Incorect | 0 |
11 | 64ms | 1744kb | Incorect | 0 |
12 | 64ms | 1732kb | Incorect | 0 |
13 | 64ms | 1772kb | Incorect | 0 |
14 | 64ms | 1692kb | Incorect | 0 |
15 | 92ms | 2364kb | Incorect | 0 |
16 | 96ms | 2364kb | Incorect | 0 |
17 | 92ms | 2308kb | Incorect | 0 |
18 | 92ms | 2312kb | Incorect | 0 |
19 | 92ms | 2304kb | Incorect | 0 |
20 | 92ms | 2260kb | Incorect | 0 |
Punctaj total | 0 |