Pagini recente » Borderou de evaluare (job #2797204) | Borderou de evaluare (job #2156965) | Borderou de evaluare (job #2677862) | Borderou de evaluare (job #1777287) | Borderou de evaluare (job #1616402)
Borderou de evaluare (job #1616402)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d\n",&m,&n);
^
user.cpp:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:27:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[l2]=a1;
^
user.cpp:28:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
y[l2]=b1;
^
user.cpp:33:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[l1].nr=a1;
^
user.cpp: In function ‘void bordare()’:
user.cpp:92:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i][l2]=1;
^
user.cpp: In function ‘void citire()’:
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&w);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&m,&n);
^
user.cpp:26:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&a1,&b1,&a2,&b2);
^
user.cpp: In function ‘int main()’:
user.cpp:114:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.in","r",stdin);
^
user.cpp:115:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | Incorect | 0 |
2 | Depăşit | 460kb | Time limit exceeded. | 0 |
3 | 0ms | 512kb | OK | 10 |
4 | 0ms | 520kb | OK | 10 |
5 | Depăşit | 460kb | Time limit exceeded. | 0 |
6 | Depăşit | 456kb | Time limit exceeded. | 0 |
7 | Depăşit | 456kb | Time limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | Depăşit | 456kb | Time limit exceeded. | 0 |
10 | 0ms | 444kb | OK | 10 |
Punctaj total | 30 |