Pagini recente » Borderou de evaluare (job #1239081) | Borderou de evaluare (job #1179949) | Borderou de evaluare (job #2063811) | Borderou de evaluare (job #1648016) | Borderou de evaluare (job #1900426)
Borderou de evaluare (job #1900426)
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: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 | 268kb | OK | 10 | 0 |
2 | 0ms | 264kb | OK | 10 |
3 | 4ms | 356kb | OK | 10 |
4 | 84ms | Depăşit | Memory limit exceeded. | 0 |
5 | 108ms | 268kb | OK | 10 |
6 | 192ms | 276kb | OK | 10 | 50 |
7 | 184ms | 272kb | OK | 10 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 272kb | OK | 10 |
10 | 4ms | 308kb | OK | 10 |
Punctaj total | 50 |