Pagini recente » Borderou de evaluare (job #1640698) | Borderou de evaluare (job #2292008) | Borderou de evaluare (job #210846) | Borderou de evaluare (job #1139063) | Borderou de evaluare (job #1888520)
Borderou de evaluare (job #1888520)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (v[x].size()<=p) printf ("-1\n");
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("costuri.in","r",stdin);
^
user.cpp:50:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("costuri.out","w",stdout);
^
user.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
user.cpp:55:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&in[i]);
^
user.cpp:78:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&q);
^
user.cpp:81:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d",&p,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1460kb | OK | 10 |
2 | 0ms | 1456kb | OK | 10 |
3 | 0ms | 1460kb | OK | 10 |
4 | 108ms | 3532kb | OK | 10 |
5 | 116ms | 3512kb | OK | 10 |
6 | 116ms | 3544kb | OK | 10 |
7 | 108ms | 3340kb | OK | 10 |
8 | 120ms | 3528kb | OK | 10 |
9 | 116ms | 3428kb | OK | 10 |
10 | 120ms | 3528kb | OK | 10 |
Punctaj total | 100 |