Pagini recente » Borderou de evaluare (job #1820554) | Borderou de evaluare (job #1088764) | Borderou de evaluare (job #1170003) | Borderou de evaluare (job #983501) | Borderou de evaluare (job #1315386)
Borderou de evaluare (job #1315386)
Raport evaluator
Compilare:
user.cpp: In function ‘void get()’:
user.cpp:34:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(DP[i] == mx)
^
user.cpp: In function ‘void Read()’:
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
user.cpp:15:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[N - i + 1]);
^
user.cpp: In function ‘int main()’:
user.cpp:91:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuvinte.in","r",stdin);
^
user.cpp:92:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuvinte.out","w",stdout);
^
user.cpp: In function ‘void get()’:
user.cpp:45:54: warning: ‘pz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(vector<int>::iterator it = dad[pz].begin(); it != dad[pz].end(); ++it) /// din toate astea puteam veni in ordine lexicografica
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 300kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 300kb | OK | 10 |
9 | 0ms | 308kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |