Pagini recente » Borderou de evaluare (job #1817366) | Borderou de evaluare (job #3160922) | Borderou de evaluare (job #1235574) | Borderou de evaluare (job #619998) | Borderou de evaluare (job #1233072)
Borderou de evaluare (job #1233072)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:29:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < v.size(); ++i)
^
user.cpp: In function ‘void solve()’:
user.cpp:38:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < v.size(); ++i)
^
user.cpp:52:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",DP[v.size() -1]);
^
user.cpp: In function ‘void read()’:
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:58:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emax.in","r",stdin);
^
user.cpp:59:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emax.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | OK | 10 | 30 |
2 | 0ms | 324kb | OK | 10 |
3 | 0ms | 316kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 | 30 |
5 | 8ms | 636kb | OK | 10 |
6 | 24ms | 1248kb | OK | 10 |
7 | 16ms | 940kb | OK | 10 | 40 |
8 | 28ms | 1360kb | OK | 10 |
9 | 20ms | 1044kb | OK | 10 |
10 | 36ms | 1448kb | OK | 10 |
Punctaj total | 100 |