Pagini recente » Borderou de evaluare (job #1021878) | Borderou de evaluare (job #2053655) | Borderou de evaluare (job #2959935) | Borderou de evaluare (job #2896446) | Borderou de evaluare (job #1910939)
Borderou de evaluare (job #1910939)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
matrix[ciur[prim]][0]++;
^
user.cpp:24:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
matrix[ciur[prim]][matrix[ciur[prim]][0]]=prim;
^
user.cpp:24:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
matrix[ciur[prim]][matrix[ciur[prim]][0]]=prim;
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nr, &k);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.in","r",stdin);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nr, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 5 |
2 | 0ms | 312kb | OK | 5 |
3 | 0ms | 308kb | OK | 5 |
4 | 12ms | 308kb | OK | 5 |
5 | 4ms | 784kb | OK | 5 |
6 | 108ms | 2744kb | OK | 5 |
7 | 20ms | 2744kb | OK | 5 |
8 | 20ms | 2748kb | OK | 5 |
9 | 16ms | 840kb | OK | 5 |
10 | 36ms | 1888kb | OK | 5 |
11 | 88ms | 3380kb | OK | 5 |
12 | 32ms | 3944kb | OK | 5 |
13 | 52ms | 556kb | Incorect | 0 |
14 | 52ms | 612kb | Incorect | 0 |
15 | 64ms | 620kb | Incorect | 0 |
16 | 76ms | 780kb | Incorect | 0 |
17 | 96ms | 2792kb | Incorect | 0 |
18 | 108ms | 2784kb | Incorect | 0 |
19 | 120ms | 2788kb | Incorect | 0 |
20 | 120ms | 2788kb | Incorect | 0 |
Punctaj total | 60 |