Pagini recente » Borderou de evaluare (job #987894) | Borderou de evaluare (job #592648) | Borderou de evaluare (job #592352) | Borderou de evaluare (job #1612633) | Borderou de evaluare (job #1725455)
Borderou de evaluare (job #1725455)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&p,&N);
^
user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp: In function ‘void Read(short unsigned int)’:
user.cpp:14:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&Ch);
^
user.cpp: In function ‘bool Compare(short unsigned int, short unsigned int)’:
user.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in","r",stdin);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out","w",stdout);
^
user.cpp:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&N);
^
user.cpp:66:37: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(unsigned short i=1;i<=v[pos][0];i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 180ms | 1592kb | Incorect. | 0 | 0 |
2 | 248ms | 1832kb | Incorect. | 0 |
3 | 0ms | 416kb | Incorect. | 0 |
4 | 32ms | 996kb | Incorect. | 0 |
5 | 0ms | 380kb | OK. | 3 | 3 |
6 | 68ms | 1356kb | OK. | 3 | 3 |
7 | 0ms | 336kb | OK. | 3 | 3 |
8 | 92ms | 1124kb | OK. | 3 | 3 |
9 | 656ms | 2224kb | OK. | 4 | 4 |
10 | 204ms | 1860kb | OK. | 4 | 4 |
11 | 564ms | 1988kb | OK. | 4 | 4 |
12 | 280ms | 1920kb | OK. | 4 | 4 |
13 | 300ms | 1960kb | OK. | 4 | 4 |
14 | 220ms | 2024kb | OK. | 5 | 5 |
15 | 276ms | 2024kb | OK. | 5 | 5 |
16 | 572ms | 2052kb | OK. | 5 | 5 |
17 | 440ms | 2012kb | OK. | 5 | 5 |
18 | 312ms | 2228kb | OK. | 5 | 5 |
19 | 324ms | 2224kb | OK. | 5 | 5 |
20 | 988ms | 2232kb | OK. | 6 | 6 |
21 | Depăşit | 2236kb | Time limit exceeded. | 0 | 0 |
22 | 364ms | 2232kb | OK. | 6 | 6 |
Punctaj total | 74 |