Pagini recente » Borderou de evaluare (job #1049263) | Borderou de evaluare (job #2594632) | Borderou de evaluare (job #2868382) | Borderou de evaluare (job #2392108) | Borderou de evaluare (job #1725457)
Borderou de evaluare (job #1725457)
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(int, 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 | 184ms | 1596kb | Incorect. | 0 | 0 |
2 | 240ms | 1836kb | Incorect. | 0 |
3 | 0ms | 412kb | Incorect. | 0 |
4 | 36ms | 996kb | Incorect. | 0 |
5 | 0ms | 380kb | OK. | 3 | 3 |
6 | 68ms | 1360kb | OK. | 3 | 3 |
7 | 0ms | 340kb | OK. | 3 | 3 |
8 | 96ms | 1124kb | OK. | 3 | 3 |
9 | 664ms | 2224kb | OK. | 4 | 4 |
10 | 200ms | 1864kb | OK. | 4 | 4 |
11 | 568ms | 1984kb | OK. | 4 | 4 |
12 | 276ms | 1920kb | OK. | 4 | 4 |
13 | 300ms | 1960kb | OK. | 4 | 4 |
14 | 220ms | 2024kb | OK. | 5 | 5 |
15 | 288ms | 2016kb | OK. | 5 | 5 |
16 | 572ms | 2052kb | OK. | 5 | 5 |
17 | 448ms | 2008kb | OK. | 5 | 5 |
18 | 308ms | 2224kb | OK. | 5 | 5 |
19 | 332ms | 2224kb | OK. | 5 | 5 |
20 | 992ms | 2232kb | OK. | 6 | 6 |
21 | 1000ms | 2232kb | OK. | 6 | 6 |
22 | 376ms | 2228kb | OK. | 6 | 6 |
Punctaj total | 80 |