Pagini recente » Borderou de evaluare (job #2608928) | Borderou de evaluare (job #1342165) | Borderou de evaluare (job #3029604) | Borderou de evaluare (job #2244027) | Borderou de evaluare (job #1740279)
Borderou de evaluare (job #1740279)
Raport evaluator
Compilare:
user.cpp: In function ‘int FindValue(int, int)’:
user.cpp:9:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<table[which].size();i++)
^
user.cpp: In function ‘void AddValue(int, int)’:
user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(position==table[which].size()){
^
user.cpp: In function ‘int main()’:
user.cpp:37:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<table[i].size();j++)
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out","w",stdout);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 8088kb | OK! | 10 |
2 | 68ms | 8140kb | OK! | 10 |
3 | 196ms | 8256kb | OK! | 10 |
4 | 256ms | 8312kb | OK! | 10 |
5 | 500ms | 8500kb | OK! | 10 |
6 | 864ms | 8752kb | OK! | 10 |
7 | 988ms | 8824kb | OK! | 10 |
8 | 1124ms | 8888kb | OK! | 10 |
9 | 1368ms | 9196kb | OK! | 10 |
10 | 1508ms | 9316kb | OK! | 10 |
Punctaj total | 100 |