Pagini recente » Borderou de evaluare (job #497730) | Borderou de evaluare (job #1656418) | Borderou de evaluare (job #3151625) | Borderou de evaluare (job #1370419) | Borderou de evaluare (job #1725301)
Borderou de evaluare (job #1725301)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<v[i].size() && s+v[i][j]<=l) s+=v[i][j++], cate++;
^
user.cpp:69:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(++j; j<v[i].size(); ++j)
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("referat.in", "r", stdin);
^
user.cpp:19:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("referat.out", "w", stdout);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &l, &t);
^
user.cpp:23:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%d", &a[i]);
^
user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1460kb | OK | 10 |
2 | 0ms | 1468kb | OK | 10 |
3 | 0ms | 1484kb | OK | 10 |
4 | 8ms | 1676kb | OK | 10 |
5 | 16ms | 1908kb | OK | 10 |
6 | 20ms | 2132kb | OK | 10 |
7 | 32ms | 2556kb | OK | 10 |
8 | 60ms | 3652kb | OK | 10 |
9 | 52ms | 3612kb | OK | 10 |
10 | 52ms | 3608kb | OK | 10 |
Punctaj total | 100 |