Pagini recente » Borderou de evaluare (job #221865) | Borderou de evaluare (job #2989433) | Borderou de evaluare (job #1033425) | Borderou de evaluare (job #493878) | Borderou de evaluare (job #1859146)
Borderou de evaluare (job #1859146)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mp[c].size() < p) printf("-1\n");
^
user.cpp:21:36: 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:22:38: 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:24:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x);
^
user.cpp:32:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
user.cpp:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &p);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 120ms | 1048kb | OK | 10 |
5 | 124ms | 1108kb | OK | 10 |
6 | 124ms | 1000kb | OK | 10 |
7 | 108ms | 920kb | OK | 10 |
8 | 128ms | 1048kb | OK | 10 |
9 | 124ms | 1048kb | OK | 10 |
10 | 128ms | 1048kb | OK | 10 |
Punctaj total | 100 |