Pagini recente » Borderou de evaluare (job #852608) | Borderou de evaluare (job #2291628) | Borderou de evaluare (job #2365206) | Borderou de evaluare (job #1986827) | Borderou de evaluare (job #1910917)
Borderou de evaluare (job #1910917)
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 | 284kb | OK | 5 |
2 | 0ms | 312kb | OK | 5 |
3 | 0ms | 312kb | OK | 5 |
4 | 12ms | 308kb | OK | 5 |
5 | 4ms | 788kb | OK | 5 |
6 | 104ms | 2744kb | OK | 5 |
7 | 20ms | 2740kb | OK | 5 |
8 | 20ms | 2748kb | OK | 5 |
9 | 16ms | 840kb | OK | 5 |
10 | 36ms | 1888kb | OK | 5 |
11 | 88ms | 3380kb | OK | 5 |
12 | 32ms | 3948kb | OK | 5 |
13 | 52ms | 556kb | Incorect | 0 |
14 | 52ms | 608kb | Incorect | 0 |
15 | 80ms | 624kb | Incorect | 0 |
16 | 76ms | 776kb | Incorect | 0 |
17 | 100ms | 2792kb | Incorect | 0 |
18 | 108ms | 2792kb | Incorect | 0 |
19 | 120ms | 2784kb | Incorect | 0 |
20 | 120ms | 2788kb | Incorect | 0 |
Punctaj total | 60 |