Pagini recente » Borderou de evaluare (job #1173038) | Borderou de evaluare (job #1279120) | Borderou de evaluare (job #1283089) | Borderou de evaluare (job #3141181) | Borderou de evaluare (job #1928073)
Borderou de evaluare (job #1928073)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:103:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ord.size(); i = j) {
^
user.cpp:104:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = i; j < ord.size(); j++)
^
user.cpp:85:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.in","r",stdin);
^
user.cpp:86:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.out","w",stdout);
^
user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:90:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tp[i]);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:99:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 520kb | OK | 10 |
2 | 0ms | 572kb | OK | 10 |
3 | 8ms | 740kb | OK | 10 |
4 | 144ms | 2664kb | OK | 10 |
5 | 464ms | 9016kb | OK | 10 |
6 | 4ms | 572kb | OK | 10 |
7 | 4ms | 676kb | OK | 10 |
8 | 232ms | 3852kb | OK | 10 |
9 | 636ms | 8968kb | OK | 10 |
10 | 544ms | 8968kb | OK | 10 |
Punctaj total | 100 |