Pagini recente » Borderou de evaluare (job #945875) | Borderou de evaluare (job #132536) | Borderou de evaluare (job #1844482) | Borderou de evaluare (job #2247555) | Borderou de evaluare (job #1719981)
Borderou de evaluare (job #1719981)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:137:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < A.size(); i++)
^
user.cpp:141:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < B.size(); i++)
^
user.cpp:144:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < in.size(); i++) {
^
user.cpp:152:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < in.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:184:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magnet.in","r",stdin);
^
user.cpp:185:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magnet.out","w",stdout);
^
user.cpp:187:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:189:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:196:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
user.cpp:199:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK! | 10 |
2 | 0ms | 444kb | OK! | 10 |
3 | 0ms | 464kb | OK! | 10 |
4 | 0ms | 480kb | OK! | 10 |
5 | 20ms | 660kb | OK! | 10 |
6 | 40ms | 788kb | OK! | 10 |
7 | 32ms | 800kb | OK! | 10 |
8 | 60ms | 832kb | OK! | 10 |
9 | 68ms | 892kb | OK! | 10 |
10 | 84ms | 1052kb | OK! | 10 |
Punctaj total | 100 |