Pagini recente » Borderou de evaluare (job #3132093) | Borderou de evaluare (job #1734725) | Borderou de evaluare (job #142313) | Borderou de evaluare (job #3264648) | Borderou de evaluare (job #1900424)
Borderou de evaluare (job #1900424)
Raport evaluator
Compilare:
user.cpp: In function ‘void d(int)’:
user.cpp:9:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[x].size();i++)
^
user.cpp:11:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (a[v[x][i]]==0)
^
user.cpp:13:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[v[x][i]]=nr;
^
user.cpp: In function ‘int main()’:
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ("%d %d", &n, &m);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ("%d", &b[i]);
^
user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ("%d", &y);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("flori.in","r",stdin);
^
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("flori.out","w",stdout);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &n, &m);
^
user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &b[i]);
^
user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 240kb | Incorect | 0 | 0 |
2 | 0ms | 240kb | Incorect | 0 |
3 | 0ms | 240kb | Incorect | 0 |
4 | 0ms | 240kb | Incorect | 0 |
5 | 0ms | 236kb | Incorect | 0 |
6 | 0ms | 240kb | Incorect | 0 | 0 |
7 | 0ms | 236kb | Incorect | 0 |
8 | 0ms | 236kb | Incorect | 0 |
9 | 0ms | 244kb | Incorect | 0 |
10 | 0ms | 244kb | Incorect | 0 |
Punctaj total | 0 |