Pagini recente » Borderou de evaluare (job #1486340) | Borderou de evaluare (job #2983465) | Borderou de evaluare (job #1579806) | Borderou de evaluare (job #332723) | Borderou de evaluare (job #1295180)
Borderou de evaluare (job #1295180)
Raport evaluator
Compilare:
user.cpp:6:39: warning: integer overflow in expression [-Woverflow]
const int nmax=(1<<21)+13,inf=(1<<31)-1;
^
user.cpp: In function ‘void hash_adauga(int)’:
user.cpp:14:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[a].size();i++)
^
user.cpp: In function ‘void hash_scade(int)’:
user.cpp:26:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[a].size();i++)
^
user.cpp: In function ‘int hash_query(int)’:
user.cpp:38:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[a].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.in", "r", stdin);
^
user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.out", "w", stdout);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
user.cpp:60:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 36576kb | OK | 10 |
2 | 56ms | 36604kb | OK | 10 |
3 | 92ms | 37388kb | OK | 10 |
4 | 392ms | 42756kb | OK | 10 |
5 | 692ms | 48728kb | OK | 10 |
6 | 964ms | 53504kb | OK | 10 |
7 | 1124ms | 56364kb | OK | 10 |
8 | 1172ms | 57540kb | OK | 10 |
9 | 1248ms | 58472kb | OK | 10 |
10 | 1308ms | 59608kb | OK | 10 |
Punctaj total | 100 |