Pagini recente » Borderou de evaluare (job #2706294) | Borderou de evaluare (job #2339384) | Borderou de evaluare (job #505484) | Borderou de evaluare (job #1749929) | Borderou de evaluare (job #2085389)
Borderou de evaluare (job #2085389)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[i]=max(dp[i],dp[best[pr[i].first]]+1);
^
user.cpp:54:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[i]>dp[best[pr[i].second]]) best[pr[i].second]=i;
^
user.cpp:54:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[i]>dp[best[pr[i].second]]) best[pr[i].second]=i;
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
user.cpp:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
/tmp/ccayqRBX.o: In function `main':
user.cpp:(.text.startup+0xff): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 704kb | Corect | 10 |
2 | 0ms | 652kb | Corect | 10 |
3 | 0ms | 588kb | Corect | 10 |
4 | 0ms | 592kb | Corect | 10 |
5 | 4ms | 1120kb | Corect | 10 |
6 | 8ms | 1376kb | Corect | 10 |
7 | 0ms | 560kb | Raspuns gresit | 0 |
8 | 16ms | 1700kb | Corect | 10 |
9 | 0ms | 636kb | Corect | 10 |
10 | 0ms | 640kb | Corect | 10 |
Punctaj total | 90 |